In order to view the assembly from any function of a compiled binary you will need a disassembler. There are many disassemblers that can be used for this function including:
- IDA Pro (Commercial)
IDA Pro (Commercial)
- Ghidra (Open Source)
Ghidra (Open Source)
- Radare2 (Open Source)
Radare2 (Open Source)
To use these tools you will usually just load the binary into the software and it will present you with the assembly representation of the binary using various algorithms such as Linear Sweep and Recursive traversal.
To use these tools you will usually just load the binary into the software and it will present you with the assembly representation of the binary using various algorithms such as Linear Sweep and Recursive traversal.
Alternatively you can always open the binaries within a hex editor and extract the OP codes from HEX. However the challenge would be to locate your target location in the binary.
Hope this helps!