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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e9d6e
sub esp, 0x6c
call fcn.0040c2a0
mov eax, dword [esp]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x6c]
test edx, edx
je 0x5e9a07
mov ebx, dword [ecx + 0x70]
test ebx, ebx
je 0x5e99f3
mov ebp, dword [ecx + 0x2bc]
cmp dword [ebp + 4], ebx
jae 0x5e9905
mov eax, dword [0x8f1840]
mov dword [esp + 0x68], eax
mov edx, dword [0x8f1844]
mov dword [esp + 0x38], edx
mov ebx, dword [ecx + 0x270]
mov dword [esp + 0x64], ebx
mov ebp, dword [ecx + 0x274]
mov dword [esp + 0x30], ebp
xor esi, esi
jmp 0x5e9c54
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ebx
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0046314b
lea ecx, [0x6b25c0]
mov dword [esp], ecx
lea edx, [esp + 0x48]
mov dword [esp + 4], edx
call fcn.00408fb0
mov ecx, dword [esp + 8]
lea edx, [0x6b25c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004c16a0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
imul ecx, edx
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x98], eax
mov ebp, dword [ebx + 0x2ac]
add ebp, 0xfffffffc
cmp ebp, eax
jae 0x5e9983
mov ebp, dword [0x8f7918]
mov esi, dword [0x8f791c]
mov edi, ebx
xor ebx, ebx
jmp 0x5e99ba
mov ebp, dword [ebx + 0x28c]
mov esi, dword [ebx + 0x288]
mov edi, ebx
mov ebx, dword [ebx + 0x290]
cmp ebp, eax
jb 0x5e9c46
sub ebp, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp ebp, 3
jbe 0x5e9c3a
mov ebx, dword [esi + ebx]
xor ebp, ebp
xor esi, esi
test ebp, ebp
jne 0x5e99e7
cmp ebx, 4
jbe 0x5e99cf
lea edx, [ecx + edx + 4]
add ebx, eax
mov dword [esp + 0x44], ebx
jmp 0x5e9a27
mov eax, dword [0x8f7940]
mov ecx, dword [0x8f7944]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x6c
ret
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
add esp, 0x6c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [0x8f7938]
mov ecx, dword [0x8f793c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x6c
ret
mov ebx, dword [esp + 0x44]
mov edi, ebp
mov edx, ecx
cmp edx, ebx
jae 0x5e9b5d
mov dword [esp + 0x2c], edx
xor eax, eax
xor ecx, ecx
xor ebp, ebp
jmp 0x5e9bec
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x44]
test eax, eax
je 0x5e9b5d
lea eax, [0x690940]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040e540
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ecx, dword [0x91eb10]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
lea edx, [ebx + edx + 1]
test ecx, ecx
jne 0x5e9a91
mov ebx, dword [esp + 0x5c]
mov dword [edi], ebx
jmp 0x5e9aa2
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00462ed0
mov eax, ecx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp + 0x90]
mov ecx, edx
lea edx, [esi + 1]
mov edi, ebx
mov ebx, dword [ebp + 0x8c]
mov ebp, dword [ebp + 0x94]
cmp ebp, edx
jae 0x5e9b28
mov dword [esp + 0x40], ecx
lea eax, [0x68d7c0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044b5e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x94], edx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5e9b0d
mov dword [ebx + 0x8c], eax
jmp 0x5e9b18
lea edi, [ebx + 0x8c]
call fcn.00462ed0
mov edi, dword [esp + 0x5c]
mov esi, ecx
mov ebx, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
lea edx, [esi + 1]
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x90], edx
lea edx, [ebx + esi*8 + 4]
mov dword [edx], eax
mov edx, dword [0x91eb10]
lea ebx, [ebx + esi*8]
test edx, edx
jne 0x5e9b4f
mov dword [ebx], edi
jmp 0x5e9a1f
mov eax, edi
mov edi, ebx
call fcn.00462ed0
jmp 0x5e9a1f
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x5e9b73
mov eax, dword [esp + 0x60]
mov dword [edi + 0x9c], eax
jmp 0x5e9b82
add edi, 0x9c
mov eax, dword [esp + 0x60]
call fcn.00462ed0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x6c
ret
mov dword [esp], 0
mov dword [esp + 8], 0
movzx eax, dl
mov dword [esp + 4], eax
call fcn.0044f490
mov dword [esp], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0044ed00
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x2c]
mov edx, ebx
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x34], eax
cmp eax, 0x50
jae 0x5e9a4e
lea esi, [eax + edx]
cmp dword [edi + 0x2ac], esi
jbe 0x5e9a46
mov ebx, dword [edi + 0x28c]
mov edx, dword [edi + 0x288]
cmp ebx, esi
jbe 0x5e9c31
movzx edx, byte [edx + esi]
test dl, dl
jne 0x5e9b96
jmp 0x5e9a3e
mov eax, esi
mov ecx, ebx
call fcn.00462f60
mov eax, 3
mov ecx, ebp
call fcn.00462f50
mov ecx, ebp
call fcn.00462fc0
inc esi
mov ebx, dword [esp + 0x64]
mov ecx, edi
cmp esi, ebp
jge 0x5e9caf
mov edi, ecx
lea ecx, [ebx + esi*8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp ebx, edx
jne 0x5e9c4d
mov dword [esp + 0x3c], esi
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5e9c99
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x70]
jmp 0x5e9c4d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
jl 0x5e9d56
mov ebx, dword [ecx + 0x274]
lea ebp, [ebx + 1]
mov esi, dword [ecx + 0x270]
mov edi, edx
mov edx, dword [ecx + 0x278]
cmp edx, ebp
jae 0x5e9d31
lea eax, [0x68d7c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0044b5e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x278], edx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5e9d16
mov dword [ebx + 0x270], eax
jmp 0x5e9d21
lea edi, [ebx + 0x270]
call fcn.00462ed0
mov edi, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x68]
mov edx, ecx
mov ecx, ebx
mov ebx, edx
lea edx, [ebx + 1]
mov dword [ecx + 0x274], edx
lea ecx, [esi + ebx*8 + 4]
mov dword [ecx], edi
mov ecx, dword [0x91eb10]
lea edi, [esi + ebx*8]
test ecx, ecx
jne 0x5e9d51
mov dword [edi], eax
jmp 0x5e9d56
call fcn.00462ed0
mov eax, dword [0x8f7930]
mov ecx, dword [0x8f7934]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x6c
ret
call fcn.00461ac0
jmp fcn.005e9890