Function at 0x45a47c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0x35], 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x8c]
mov ecx, 0x40
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0x40
jne 0x45a4bf
cmp word [ebp - 0x8c], 0x5a4d
je 0x45a4d7
push 1
mov ecx, 0x2a96
mov dl, 1
mov eax, dword [0x45a108]
call fcn.0045ac5c
call fcn.00403c58
xor ecx, ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x184]
mov ecx, 0xf8
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0xf8
jne 0x45a50a
cmp dword [ebp - 0x184], 0x4550
je 0x45a522
push 1
mov ecx, 0x2a96
mov dl, 1
mov eax, dword [0x45a108]
call fcn.0045ac5c
call fcn.00403c58
cmp dword [ebp - 0xfc], 0
je 0x45a534
cmp dword [ebp - 0xf8], 0
jne 0x45a54e
push 1
mov ecx, 0x45a774
mov dl, 1
mov eax, dword [0x45a108]
call fcn.0045ad14
call fcn.00403c58
jmp 0x45a557
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x17e]
dec eax
test eax, eax
jl 0x45a5b1
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x2c]
mov ecx, 0x28
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0x28
je 0x45a59b
push 1
mov ecx, 0x45a7a0
mov dl, 1
mov eax, dword [0x45a108]
call fcn.0045ad14
call fcn.00403c58
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x3c]
jne 0x45a5a9
mov byte [ebp - 0x35], 1
jmp 0x45a5b1
inc dword [ebp - 0x34]
dec dword [ebp - 0x44]
jne 0x45a56e
cmp byte [ebp - 0x35], 0
jne 0x45a5cf
push 1
mov ecx, 0x45a774
mov dl, 1
mov eax, dword [0x45a108]
call fcn.0045ad14
call fcn.00403c58
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
push ebp
lea eax, [ebp - 0x194]
xor edx, edx
call fcn.0045a2ac
pop ecx
test al, al
jne 0x45a607
push 1
mov ecx, 0x45a7d4
mov dl, 1
mov eax, dword [0x45a108]
call fcn.0045ad14
call fcn.00403c58
mov dl, 1
mov eax, dword [0x413134]
call fcn.0040349c
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x45a745
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp word [eax + 2], 1
jne 0x45a655
mov eax, dword [ebp - 0x48]
cmp word [eax + 4], 1
jb 0x45a655
mov eax, dword [ebp - 0x48]
cmp word [eax], 0
je 0x45a66d
push 1
mov ecx, 0x45a804
mov dl, 1
mov eax, dword [0x45a108]
call fcn.0045ad14
call fcn.00403c58
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 4]
dec eax
test eax, eax
jl 0x45a72f
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
add eax, 6
mov edx, dword [ebp - 0x34]
shl edx, 4
add eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x190]
jne 0x45a723
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 3], 0
jne 0x45a723
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0x40]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x194]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x190]
xor edx, edx
push edx
push eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.004179dc
push edx
push eax
mov eax, dword [ebp - 0x190]
cdq
cmp edx, dword [esp + 4]
jne 0x45a700
cmp eax, dword [esp]
pop edx
pop eax
je 0x45a71c
push 1
mov ecx, 0x45a81c
mov dl, 1
mov eax, dword [0x45a108]
call fcn.0045ad14
call fcn.00403c58
call fcn.00403d04
jmp 0x45a764
inc dword [ebp - 0x34]
dec dword [ebp - 0x44]
jne 0x45a688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a74c
mov eax, dword [ebp - 0x40]
call fcn.004034cc
ret
pop ebx
mov esp, ebp
pop ebp
ret