Function at 0x467b30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x59233d
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push esi
cmp edx, 0x200
jb 0x467d9f
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x467d9f
mov esi, dword [ecx + 0x3c]
cmp esi, 0x40
jb 0x467d9f
lea eax, [edx - 0xf8]
cmp esi, eax
jae 0x467d9f
cmp dword [esi + ecx], 0x4550
jne 0x467d9f
cmp dword [ecx + 0x40], 0x564c56
je 0x467bb3
mov eax, 2
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x44], 1
je 0x467bcd
mov eax, 4
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
cmp edx, dword [ecx + 0x48]
jb 0x467d8a
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
lea eax, [ecx + 0x18]
add eax, esi
mov dword [ebp - 0x1c], ebx
mov esi, 0x10b
movzx edx, word [eax]
cmp dx, si
jne 0x467bf8
mov dword [ebp + 0xc], eax
jmp 0x467c0b
mov esi, 0x20b
cmp dx, si
jne 0x467d8a
mov ebx, eax
mov dword [ebp - 0x1c], eax
push edi
lea eax, [ecx + 0x50]
mov ecx, 0x20
push 0x80
mov esi, eax
mov dword [ebp - 0x20], eax
lea edi, [ebp - 0xb0]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0056ce40
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x467c67
mov ecx, dword [eax + 0x40]
mov dword [eax + 0x40], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], ecx
jmp 0x467c94
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x40], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov esi, dword [ebp + 8]
xor bl, bl
xor edi, edi
jmp 0x467ca0
cmp edi, dword [ebp + 0x14]
jae 0x467d29
mov ebx, dword [esi + 0x48]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x5b4bfc
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
push dword [eax + edi*4]
call fcn.00447790
test al, al
jne 0x467ce5
xor bl, bl
jmp 0x467d11
lea ecx, [ebp - 0x30]
call fcn.004472f0
test al, al
jne 0x467cf5
xor bl, bl
jmp 0x467d11
lea eax, [ebp - 0x30]
push eax
push 0x80
lea eax, [ebp - 0xb0]
push eax
push ebx
push esi
call fcn.00456100
add esp, 0x14
mov bl, al
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00446fb0
inc edi
test bl, bl
je 0x467ca0
mov edi, dword [ebp - 0x20]
lea esi, [ebp - 0xb0]
mov eax, dword [ebp + 0xc]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
pop edi
test eax, eax
je 0x467d5b
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x80], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x84], ecx
jmp 0x467d73
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x90], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x94], ecx
xor eax, eax
test bl, bl
pop ebx
sete al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
pop ebx
mov eax, 3
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, 6
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret