Function at 0x465a0c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x465c87
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x48]
mov ecx, pe_nt_image_headers32
mov edx, esi
call fcn.00408560
cmp word [ebp - 0x48], 0x5a4d
je 0x465a65
mov eax, 0x499f4c
mov edx, 0x465cbc
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465ca6
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, esi
call fcn.004652b4
mov edx, eax
lea eax, [ebp - 0x140]
mov ecx, 0xf8
call fcn.00408560
cmp dword [ebp - 0x140], 0x4550
je 0x465aac
mov eax, 0x499f4c
mov edx, 0x465cf4
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465ca6
push 4
push 0x2000
mov eax, dword [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x10c]
push eax
call fcn.00407cd8
mov ebx, eax
test ebx, ebx
jne 0x465ae3
push 4
push 0x2000
mov eax, dword [ebp - 0xf0]
push eax
push 0
call fcn.00407cd8
mov ebx, eax
test ebx, ebx
jne 0x465b03
mov eax, 0x499f4c
mov edx, 0x465d30
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465ca6
push 0x11
push 0
call fcn.00407b18
push eax
call fcn.00407bc0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 0
push 4
push 0x1000
mov eax, dword [ebp - 0xf0]
push eax
push ebx
call fcn.00407cd8
push 4
push 0x1000
mov eax, dword [ebp - 0xec]
push eax
push ebx
call fcn.00407cd8
mov edi, eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0xec]
mov edx, esi
mov eax, edi
call fcn.00408560
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov edi, ebx
mov dword [ecx + 0x34], edi
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.004653a8
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test eax, eax
je 0x465bc3
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004654ac
mov eax, dword [ebp - 8]
push eax
call fcn.00465598
test al, al
jne 0x465bf4
mov eax, 0x499f4c
mov edx, 0x465d60
call fcn.00405818
mov eax, dword [ebp - 8]
call fcn.00466038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465ca6
mov eax, dword [ebp - 8]
push eax
call fcn.004658f4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x465c7d
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov esi, eax
test esi, esi
jne 0x465c44
mov eax, 0x499f4c
mov edx, 0x465d98
call fcn.00405584
mov eax, dword [ebp - 8]
call fcn.00466038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465ca6
push 0
push 1
push edi
call esi
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x465c76
mov eax, 0x499f4c
mov edx, 0x465dcc
call fcn.00405584
mov eax, dword [ebp - 8]
call fcn.00466038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465ca6
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465ca0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8