Function at 0x4674f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x5903fd
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
cmp ecx, 0x200
jb 0x467775
mov ebx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x467775
mov edx, dword [ebx + 0x3c]
cmp edx, 0x40
jb 0x467775
lea eax, [ecx - 0xf8]
cmp edx, eax
jae 0x467775
cmp dword [edx + ebx], 0x4550
jne 0x467775
cmp dword [ebx + 0x40], 0x564c56
je 0x467573
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 0x46758d
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 0x467761
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 0x4675b5
mov dword [ebp - 0x10], eax
jmp 0x4675c6
mov edx, 0x20b
cmp cx, dx
jne 0x467761
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.0056c620
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 0x467634
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 0x46765d
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 0x467713
mov edi, dword [ebx + 0x48]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0x5b2f64
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
push dword [eax + esi*4]
call fcn.004477a0
lea ecx, [ebp - 0x3c]
test al, al
jne 0x4676ba
mov dword [ebp - 4], 0xffffffff
mov byte [ebp + 0xf], al
call fcn.00446f90
mov dl, byte [ebp + 0xf]
inc esi
jmp 0x467661
call fcn.00447300
test al, al
jne 0x4676db
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov byte [ebp + 0xf], al
call fcn.00446f90
mov dl, byte [ebp + 0xf]
inc esi
jmp 0x467661
lea eax, [ebp - 0x3c]
push eax
push 0x80
lea eax, [ebp - 0xc0]
push eax
push edi
push ebx
call fcn.00455ff0
add esp, 0x14
mov byte [ebp + 0xf], al
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00446f90
mov dl, byte [ebp + 0xf]
inc esi
test dl, dl
je 0x467661
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 0x467738
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
jmp 0x467740
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