Function at 0x5f9f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xd0]
cmp eax, dword [ecx + 8]
jbe 0x5fa2bf
sub esp, 0x150
mov ecx, dword [esp + 0x154]
movzx edx, byte [ecx + 0x295]
test dl, dl
je 0x5f9f68
lea edi, [esp + 0x44]
xor eax, eax
call fcn.004716c4
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + 0x78]
lea ebx, [0x6ae1a0]
cmp edx, ebx
jne 0x5fa2a8
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x44]
call fcn.004719b8
mov eax, dword [esp + 0x7c]
jmp 0x5f9f9b
lea edi, [esp + 0x44]
xor eax, eax
call fcn.004716c8
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + 0x78]
lea ebx, [0x6ae520]
cmp edx, ebx
jne 0x5fa292
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x44]
call fcn.004719e0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [0x688480]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.004e1200
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x15c]
add edx, ecx
mov dword [esp + 0x28], edx
jmp 0x5f9ff2
mov ebx, dword [esp + 0x34]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jae 0x5fa25d
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x154]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005ef660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x154]
mov dword [esp], ecx
lea edx, [0x663020]
mov dword [esp + 4], edx
lea ebx, [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
call fcn.005f0300
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5fa244
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jb 0x5fa223
mov edx, dword [esp + 0x30]
cmp ecx, edx
jb 0x5fa202
mov ecx, dword [esp + 0x154]
mov dword [esp], ecx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
lea esi, [ebp + ebx]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
sub edx, ebx
mov dword [esp + 0xc], edx
call fcn.005f9cc0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5fa1e9
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x134], ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea edi, [esp + 0x13c]
xor eax, eax
call fcn.004716fb
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], ebp
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], ebx
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + 0x108]
mov ebx, dword [ecx + 0x104]
inc ebx
mov ebp, dword [ecx + 0x100]
cmp edx, ebx
jae 0x5fa186
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6884e0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x154]
mov dword [ebx + 0x108], eax
mov eax, dword [0x90f128]
test eax, eax
je 0x5fa175
call fcn.00471470
mov dword [edi], ecx
mov eax, dword [ebx + 0x100]
mov dword [edi + 4], eax
mov dword [ebx + 0x100], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x154]
mov dword [ecx + 0x104], ebx
mov eax, dword [0x90f128]
lea edx, [ebx + ebx*4]
lea edi, [ebp + edx*4 - 0x14]
test eax, eax
je 0x5fa1cf
mov dword [esp + 0x138], edi
lea eax, [0x6884e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x13c]
mov dword [esp + 8], eax
call fcn.0040eab0
mov ecx, dword [esp + 0x154]
mov edi, dword [esp + 0x138]
lea esi, [esp + 0x13c]
call fcn.00471bde
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5f9fe3
jmp 0x5fa25d
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x150
ret
mov eax, dword [0x8e2638]
mov ecx, dword [0x8e263c]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x150
ret
mov eax, dword [0x8e2630]
mov ecx, dword [0x8e2634]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x150
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x150
ret
mov eax, dword [esp + 0x154]
mov ecx, dword [eax + 0x104]
test ecx, ecx
je 0x5fa275
mov byte [eax + 0x2a0], 1
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
add esp, 0x150
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
nop
call fcn.00470060
jmp fcn.005f9f00