Function at 0x5f9470
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b0d8
push 0x5ff218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 4
mov edi, dword [ebp + 8]
push edi
call dword [fcn.00635178]
test eax, eax
je 0x5f94bb
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x3c], edi
cmp word [edi], 0x5a4d
je 0x5f94ec
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [ebp - 0x44], eax
cmp dword [eax], 0x4550
je 0x5f9518
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x30], edx
cmp word [eax + 0x18], 0x20b
jne 0x5f952e
mov dword [ebp - 0x50], eax
mov eax, dword [eax + 0x88]
jmp 0x5f9531
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x30], eax
cmp eax, edx
jne 0x5f9554
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
cmp byte [ecx], 0
je 0x5f958e
inc ecx
mov dword [ebp - 0x28], ecx
inc edx
mov dword [ebp - 0x38], edx
cmp edx, 0x100
jb 0x5f955d
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [eax + edi]
mov dword [ebp - 0x4c], esi
mov ebx, dword [esi + 0x20]
add ebx, edi
mov dword [ebp - 0x34], ebx
push 4
push ebx
call dword [fcn.00635178]
test eax, eax
je 0x5f95c5
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [esi + 0x18]
jae 0x5f9661
mov esi, dword [ebx]
add esi, edi
mov dword [ebp - 0x5c], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
push 4
push esi
call dword [fcn.00635178]
test eax, eax
je 0x5f9612
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [ebp - 0x58], 1
xor eax, eax
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x38]
jae 0x5f962f
xor ecx, ecx
mov cl, byte [esi]
movsx edx, byte [edi]
sub ecx, edx
je 0x5f9642
mov byte [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
test al, al
je 0x5f964d
mov byte [ebp - 0x48], 1
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x4c]
jmp 0x5f9661
inc esi
mov dword [ebp - 0x5c], esi
inc edi
mov dword [ebp - 0x28], edi
inc eax
jmp 0x5f9618
add ebx, 4
mov dword [ebp - 0x34], ebx
inc dword [ebp - 0x40]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x4c]
jmp 0x5f95d0
mov al, byte [ebp - 0x48]
test al, al
jne 0x5f9684
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x24]
add eax, edi
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x40]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + 0x1c]
add eax, edi
mov dword [ebp - 0x24], eax
xor edx, edx
mov dx, word [ecx]
lea eax, [eax + edx*4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8