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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58970c
sub esp, 0x64
mov eax, dword [esp + 0x68]
test eax, eax
je 0x589264
mov ecx, dword [eax]
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x30]
mov ebp, dword [edx + 0x34]
lea esi, [0x680620]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0040f340
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x50], edx
xor edx, edx
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0x54], edx
xor edx, edx
jmp 0x589299
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x50], edi
mov ecx, dword [esp + 0x60]
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x20], edi
cmp edx, eax
jge 0x58950d
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], ebp
mov eax, dword [ecx + edx*4]
nop
shl eax, 4
mov ebx, dword [esp + 0x68]
add eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov ebp, dword [eax]
mov edx, eax
call ebp
mov eax, dword [esp + 4]
mov ecx, dword [esp]
test eax, eax
je 0x5892f5
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
jmp 0x589280
mov dword [esp + 0x4c], ecx
mov ebx, dword [ecx + 0x1d0]
mov ebp, dword [ecx + 0x1cc]
mov esi, dword [esp + 0x6c]
mov eax, ebp
mov ebp, dword [esi + 0x1d8]
cmp dword [esi + 0x1dc], ebx
je 0x58931d
xor eax, eax
jmp 0x58933a
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00402870
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
test al, al
je 0x5893c3
mov ebx, dword [esp + 0x30]
inc ebx
mov ebp, dword [esp + 0x34]
cmp ebp, ebx
jb 0x589355
mov eax, dword [esp + 0x58]
jmp 0x589391
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6ab020]
mov dword [esp + 0x10], eax
call fcn.00447800
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov eax, esi
mov esi, dword [esp + 0x6c]
mov edx, esi
mov esi, dword [0xa43e50]
lea edi, [eax + ebx*4 - 4]
test esi, esi
jne 0x5893a7
mov dword [eax + ebx*4 - 4], ecx
jmp 0x5893b2
mov esi, eax
mov eax, ecx
call fcn.0045f670
mov eax, esi
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
jmp 0x589280
mov ebx, dword [ecx + 0x1d0]
test ebx, ebx
jne 0x5893df
mov ebp, dword [esi + 0x1dc]
test ebp, ebp
jne 0x5893ed
test ebx, ebx
je 0x589474
mov ebx, dword [esi + 0x1dc]
test ebx, ebx
jne 0x589474
mov ebx, dword [esp + 0x20]
inc ebx
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jb 0x589400
mov eax, dword [esp + 0x50]
jmp 0x58943c
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6ab020]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x6c]
mov ebp, ecx
mov ecx, dword [esp + 0x4c]
mov edx, esi
mov esi, dword [0xa43e50]
lea edi, [eax + ebx*4 - 4]
test esi, esi
jne 0x589452
mov dword [eax + ebx*4 - 4], ecx
jmp 0x58945d
mov esi, eax
mov eax, ecx
call fcn.0045f670
mov eax, esi
mov ecx, ebp
mov esi, ebx
mov edi, eax
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
jmp 0x589280
mov ebx, dword [esp + 0x28]
inc ebx
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
jb 0x589487
mov eax, dword [esp + 0x54]
jmp 0x5894c3
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6ab020]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x6c]
mov ebp, ecx
mov ecx, dword [esp + 0x4c]
mov edx, esi
mov esi, dword [0xa43e50]
lea edi, [eax + ebx*4 - 4]
test esi, esi
jne 0x5894d9
mov dword [eax + ebx*4 - 4], ecx
jmp 0x5894e4
mov esi, eax
mov eax, ecx
call fcn.0045f670
mov eax, esi
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
jmp 0x589280
lea eax, [ebx + edi]
mov ecx, dword [esp + 0x28]
add eax, ecx
test eax, eax
je 0x5896f0
mov dword [esp + 0x38], eax
lea ecx, [0x6ab020]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00447740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
cmp ecx, edx
ja 0x589550
mov ebx, ecx
jmp 0x589582
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x6ab020]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
lea ebp, [0x6ab020]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x58]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00410540
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x5895c9
mov ebp, dword [esp + 0x5c]
jmp 0x589603
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x6ab020]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], edx
lea esi, [0x6ab020]
mov dword [esp], esi
sub ebx, eax
neg ebx
shl eax, 2
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00410540
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x58965e
mov ebp, dword [esp + 0x5c]
jmp 0x589694
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x6ab020]
mov dword [esp + 0x10], eax
call fcn.00447800
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
lea esi, [0x6ab020]
mov dword [esp], esi
sub ebx, eax
neg ebx
mov edi, eax
shl eax, 2
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
sub edx, edi
mov dword [esp + 8], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00410540
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
call fcn.0045e260
jmp fcn.005891e0