Function at 0x467bd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x59129d
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
cmp ecx, 0x200
jb 0x467e3c
mov ebx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x467e3c
mov edx, dword [ebx + 0x3c]
cmp edx, 0x40
jb 0x467e3c
lea eax, [ecx - 0xf8]
cmp edx, eax
jae 0x467e3c
cmp dword [edx + ebx], 0x4550
jne 0x467e3c
cmp dword [ebx + 0x40], 0x564c56
je 0x467c53
mov eax, 2
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x44], 1
je 0x467c6d
mov eax, 4
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp ecx, dword [ebx + 0x48]
jb 0x467e28
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], eax
lea eax, [ebx + 0x18]
add eax, edx
mov edx, 0x10b
movzx ecx, word [eax]
cmp cx, dx
jne 0x467c95
mov dword [ebp - 0x10], eax
jmp 0x467ca6
mov edx, 0x20b
cmp cx, dx
jne 0x467e28
mov dword [ebp + 0xc], eax
push esi
push edi
lea eax, [ebx + 0x50]
mov ecx, 0x20
push 0x80
mov esi, eax
mov dword [ebp - 0x40], eax
lea edi, [ebp - 0xc0]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0056d4c0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp - 0x10]
lea edi, [eax + 0x40]
mov dword [ebp - 0x28], edi
lea ecx, [eax + 0x90]
mov dword [ebp - 0x2c], ecx
lea esi, [edx + 0x40]
mov dword [ebp - 0x20], esi
lea eax, [edx + 0x80]
mov dword [ebp - 0x24], eax
test edx, edx
je 0x467d14
mov ecx, dword [esi]
mov dword [esi], 0
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x467d3d
mov edx, dword [edi]
mov dword [edi], 0
mov dword [ebp - 0x14], edx
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ecx
xor dl, dl
xor esi, esi
cmp esi, dword [ebp + 0x14]
jae 0x467dda
mov edi, dword [ebx + 0x48]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0x5b40d8
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
push dword [eax + esi*4]
call fcn.004477d0
test al, al
jne 0x467d96
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00446f80
xor dl, dl
inc esi
jmp 0x467d41
lea ecx, [ebp - 0x3c]
call fcn.00447340
test al, al
je 0x467d82
lea eax, [ebp - 0x3c]
push eax
push 0x80
lea eax, [ebp - 0xc0]
push eax
push edi
push ebx
call fcn.00455fb0
add esp, 0x14
mov byte [ebp + 0xf], al
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00446f80
mov dl, byte [ebp + 0xf]
inc esi
test dl, dl
je 0x467d41
cmp dword [ebp - 0x10], 0
lea esi, [ebp - 0xc0]
mov edi, dword [ebp - 0x40]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
je 0x467dff
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
jmp 0x467e07
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
xor eax, eax
test dl, dl
pop ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, 3
pop ebx
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 ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret