Function at 0x45d8d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x198], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c94
mov eax, dword [ebp + 8]
call fcn.00404c94
xor eax, eax
push ebp
push 0x45dc54
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x5a4d
jne 0x45dc2b
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x45dc2b
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x44
call fcn.0040333c
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.0040333c
lea eax, [ebp - 0xc8]
xor ecx, ecx
mov edx, 0x44
call fcn.0040333c
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x10
call fcn.0040333c
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0xc8], 0x44
dec esi
jne 0x45d9cc
call dword [0x467ce8]
mov edx, eax
lea eax, [ebp - 0x198]
call fcn.00404a0c
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 4]
call fcn.0045b2cc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
push 0
call dword [0x467cec]
test al, al
je 0x45dc2b
mov dword [ebp - 0x194], 0x10007
lea eax, [ebp - 0x194]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x467cf0]
test al, al
je 0x45dc2b
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xf0]
add eax, 8
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [0x467cf4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 0x14]
jne 0x45daa0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [0x467ce0]
test eax, eax
jne 0x45da81
push 0x40
push 0x3000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [0x467cfc]
mov dword [ebp - 0x18], eax
jmp 0x45dac2
push 0x40
push 0x3000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
push eax
push 0
mov eax, dword [ebp - 0x30]
push eax
call dword [0x467cfc]
mov dword [ebp - 0x18], eax
jmp 0x45dac2
push 0x40
push 0x3000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [0x467cfc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45dc2b
xor edx, edx
push ebp
push 0x45daee
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0x45dc70
call fcn.004086fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45db0d
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x34]
mov eax, dword [ebp - 0x18]
cmp edx, eax
je 0x45db58
sub eax, edx
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0045d720
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, 0xf8
mov edx, dword [ebp - 0x10]
call fcn.00407078
xor edx, edx
push ebp
push 0x45db7a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0x45dc8c
call fcn.004086fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45db8d
mov eax, 0x65
mov edx, 0x29bb
dec eax
jne 0x45db92
cmp edx, 0xe6
je 0x45dbda
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [0x467d00]
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xf0]
add eax, 8
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [0x467d00]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x194]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x467d04]
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x467d08]
mov eax, 0x65
dec eax
jne 0x45dc09
xor ecx, ecx
mov dl, 1
mov eax, dword [0x44c6d0]
call fcn.0044f600
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 8]
call fcn.00402e6c
mov ebx, dword [ebp - 0x2c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dc5b
lea eax, [ebp - 0x198]
call fcn.00404814
lea eax, [ebp - 4]
call fcn.00404814
lea eax, [ebp + 8]
call fcn.00404814
ret