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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f5cd6
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x254]
lea edx, [0x6ab700]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x27
call fcn.0040d680
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
lea ecx, [0x6d1500]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0046c600
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x64]
xor ebp, ebp
xor esi, esi
jmp 0x5f5969
mov edi, dword [esp + 0x1c]
mov eax, edi
mov edi, dword [esp + 0x38]
inc edi
lea ebx, [eax + ecx + 8]
lea esi, [eax + ebp + 8]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov ebp, edi
cmp ebp, edx
jge 0x5f5c87
mov dword [esp + 0x30], esi
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffc
cmp ebx, edi
jbe 0x5f5996
mov edi, dword [0x932770]
mov esi, dword [0x932774]
mov dword [esp + 0x54], esi
xor esi, esi
jmp 0x5f59d5
mov edi, dword [ecx + 0x28c]
cmp ebx, edi
ja 0x5f5ccc
mov esi, dword [ecx + 0x290]
sub edi, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
cmp edi, 3
jbe 0x5f5cc0
mov edi, dword [ecx + 0x288]
mov esi, dword [esi + edi]
xor edi, edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x38], ebp
lea ebp, [ebp + ebp*4]
mov dword [eax + ebp*4], esi
test edi, edi
jne 0x5f5c63
lea esi, [ebx + 4]
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffc
cmp edi, esi
jae 0x5f5a14
mov esi, dword [0x932770]
mov edi, dword [0x932774]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x5f5a57
mov edi, dword [ecx + 0x28c]
cmp edi, esi
jb 0x5f5cb7
mov edx, dword [ecx + 0x290]
sub edx, ebx
sub edi, ebx
add edi, 0xfffffffc
add edx, 0xfffffffc
neg edx
sar edx, 0x1f
and esi, edx
cmp edi, 3
jbe 0x5f5cab
mov edx, dword [ecx + 0x288]
mov edx, dword [esi + edx]
xor esi, esi
mov dword [esp + 0x28], edx
xor edi, edi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ebp*4 + 4], edi
test esi, esi
jne 0x5f5c3c
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 8]
movzx esi, byte [0x9340e0]
mov edi, dword [0x9340e4]
mov ebx, dword [0x9340e8]
mov eax, dword [0x9340ec]
mov dword [esp], ecx
xchg esi, eax
mov byte [esp + 4], al
xchg esi, eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x58]
lea edx, [eax + ebp*4 + 8]
mov dword [esp + 0x18], edx
call fcn.005f05c0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5f5c0d
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax + 8]
movzx ebx, byte [0x9340e0]
mov ebp, dword [0x9340e4]
mov esi, dword [0x9340e8]
mov edi, dword [0x9340ec]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + edx*4 + 0xc]
mov dword [esp + 0x18], ebp
call fcn.005f05c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + ecx]
lea ecx, [ebx + ecx + 8]
test eax, eax
jne 0x5f5be5
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
lea ecx, [eax + edx + 8]
movzx ebx, byte [0x934040]
mov ebp, dword [0x934044]
mov esi, dword [0x934048]
mov edi, dword [0x93404c]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
lea ecx, [ebx + ecx*4 + 0x10]
mov dword [esp + 0x18], ecx
call fcn.005f05c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
add ecx, edx
mov ebx, dword [esp + 0x48]
lea ebp, [edx + ebx]
lea edx, [edx + ebx + 8]
test eax, eax
je 0x5f5948
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 8
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, 3
mov ecx, edi
call fcn.00471840
mov eax, esi
mov ecx, edi
call fcn.004718b0
mov eax, 3
mov ecx, edi
call fcn.00471840
mov eax, ebx
mov ecx, edi
call fcn.004718b0
nop
call fcn.004703c0
jmp fcn.005f58d0