Reverse Engineering: Structs and Nodes in Bomb6.exe

  • Coloring can help to clarify
    • Be consistent in your coloring methodology
  • Collapse and Analyze algorithm:
    1. Find bold line (that’s the loop)
    2. Start at bold line’s arrow head and follow it backwards
      • If encounter another bold line’s arrow head, collapse that inner loop first
    3. Collapse loop
    4. After all loops have been collapsed, analyze starting at the beginning of the function
      • Pseudo-code it
      • Re-collapse
      • Next
  • Use script (e.g. IDC) to define large structures
auto struct_id, member_id;
struct_id = AddStrucEx(
1, //index
'MyStruct', //name
0 // is_union
member_id = AddStrucMember(
struct_id, // long id
'my_member', // string name
0x220, // long offset
FF_DWRD, // long flag
-1, // long typeid
4 // long nbytes

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: