how to edit a binary file:
(1) command `%!xxd` allows you to view files by vim in hex format.
(2) you can also edit files in hex format by vim.
(3) once you finish editing the file, you can convert the file you edited by `%!xxd -r`, and then with `w` command to save the file
(4) the check how to use xxd (hex view of a file by vim), you can use the command `:h xxd`
how to check the machine code of a file:
`hexdump <exe>`