Function at 0x427520
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xfffffff6
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x427731
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4276f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00472af8
mov dword [ebp - 0x14], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00462764
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0046270c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x5a4d
je 0x4275ab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00474490
jmp 0x427738
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x4550
je 0x4275d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00474490
jmp 0x427738
mov eax, dword [ebp - 0x20]
add eax, 0xf8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jl 0x427667
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 0
mov edx, 0x427744
mov eax, dword [ebp - 0x2c]
call fcn.00463064
test eax, eax
jne 0x42765b
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x20]
add eax, 0x78
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x14]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_LookForDirs_qqrpxvxuixipx21_IMAGE_DATA_DIRECTORY
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x427647
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00474490
jmp 0x427738
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
sub edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x2c]
add edx, dword [eax + 0x14]
mov dword [ebp - 0x28], edx
jmp 0x427667
add dword [ebp - 0x2c], 0x28
inc dword [ebp - 0x24]
dec dword [ebp - 0x30]
jne 0x4275f6
mov dl, 1
mov eax, dword [0x452358]
call fcn.00473be8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x18]
call fcn.00456840
cmp edx, 0
jne 0x4276e2
cmp eax, 0x2fe
jne 0x4276e2
xor ecx, ecx
mov edx, 0x16
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
mov ecx, 0x2e8
mov eax, dword [ebp - 0x18]
call fcn.00456a38
mov eax, dword [ebp - 0x28]
xor edx, edx
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00462770
mov edx, dword [ebp - 0x14]
mov ecx, 0x2e8
mov eax, dword [ebp - 8]
call fcn.00462738
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4276e9
mov dword [ebp - 0x10], 0xfffffff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x427704
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427738
mov eax, dword [ebp - 0x14]
call fcn.00472b18
mov eax, dword [ebp - 0x18]
call fcn.00473c18
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00462764
ret
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret