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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x58a055
sub esp, 0x90
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
jmp 0x5897ed
mov eax, esi
mov edi, edx
mov edx, ebx
mov ebx, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x8c], ecx
test eax, eax
je 0x589c90
mov dword [esp + 0x40], edx
mov dword [esp + 0x88], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x66cfe4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004ee590
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test dl, dl
je 0x589c76
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x48]
lea esi, [ebx + edx]
mov edi, dword [esp + 0x40]
cmp edi, esi
jb 0x589875
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x84], eax
jmp 0x5898c3
mov dword [esp + 0x30], ebx
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
lea eax, [0x5f1b20]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov edi, edx
mov dword [esp + 0x84], ebp
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x84]
lea ecx, [eax + edx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00464cc0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x589964
mov ecx, dword [esp + 0x70]
cmp byte [ecx], 0x24
jne 0x589968
mov edx, dword [esp + 0x44]
inc edx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x58990c
mov ebp, dword [esp + 0x84]
jmp 0x58994d
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f1b20]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov ebx, edi
mov eax, dword [esp + 0x34]
mov byte [edx + ebp - 1], 0x24
dec eax
mov esi, eax
neg eax
sar eax, 0x1f
and eax, 1
add ecx, eax
jmp 0x5897e5
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0058a060
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x1c]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test bl, bl
je 0x589c0d
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], eax
test edx, edx
jl 0x589bdb
mov ebx, edx
shl edx, 1
lea ebp, [edx + 1]
mov esi, dword [esp + 0xc4]
cmp esi, ebp
jle 0x589bc0
cmp esi, edx
jbe 0x58a04b
mov edi, dword [esp + 0xc0]
mov edx, ebx
lea ebx, [edi + ebx*8]
mov ebx, dword [ebx]
test ebx, ebx
jge 0x5899e9
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x84]
jmp 0x589fc7
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x589acd
cmp esi, ebp
jbe 0x58a042
lea ebp, [edi + edx*8 + 4]
mov ebp, dword [ebp]
mov edx, dword [esp + 0xb4]
cmp edx, ebp
jb 0x58a03b
mov edi, dword [esp + 0x3c]
cmp ebp, edi
jb 0x58a032
sub ebp, edi
mov esi, dword [esp + 0x44]
lea eax, [esi + ebp]
sub edx, edi
neg edx
sar edx, 0x1f
and edi, edx
lea edx, [ebx + edi]
mov edi, dword [esp + 0x48]
cmp edi, eax
jae 0x589a97
mov dword [esp + 0x48], ebp
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
lea eax, [0x5f1b20]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x84]
lea ebx, [ecx + esi]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.00464cc0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x589b9f
cmp esi, ebp
jbe 0x58a029
lea ebp, [edi + edx*8 + 4]
mov ebp, dword [ebp]
mov edx, dword [esp + 0xbc]
cmp edx, ebp
jb 0x58a022
mov edx, dword [esp + 0x3c]
cmp ebp, edx
jb 0x58a019
sub ebp, edx
mov dword [esp + 0x3c], ebp
mov ebx, dword [esp + 0x44]
lea edi, [ebx + ebp]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
mov edx, dword [esp + 0xb8]
add ebp, edx
mov edx, dword [esp + 0x48]
cmp edx, edi
jae 0x589b6a
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x5f1b20]
mov dword [esp + 0x10], ecx
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov edx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x84]
lea ecx, [eax + ebx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00464cc0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x64]
jmp 0x589fc7
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x84]
jmp 0x589fc7
mov dword [esp + 0x68], ebp
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x94]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x78], edi
mov edx, ebx
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x589d35
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jb 0x589c29
mov ecx, eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x48]
jmp 0x589c5e
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5f1b20]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0x24
mov esi, dword [esp + 0x34]
mov ebx, edi
mov edx, ecx
mov ebp, eax
mov ecx, dword [esp + 0x70]
jmp 0x5897e5
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x88]
lea esi, [ebx + eax]
cmp edx, esi
jae 0x589cd0
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
lea ecx, [0x5f1b20]
mov dword [esp + 0x10], ecx
call fcn.0044b300
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x88], ebp
add ebx, ebp
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00464cc0
mov eax, dword [esp + 0x88]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xd4], eax
add esp, 0x90
ret
inc ebx
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
jge 0x589f9c
lea edi, [edi + ebp*8]
mov ebx, dword [edi]
cmp dword [edi + 4], esi
je 0x589d4f
xor ebx, ebx
jmp 0x589d81
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00402f60
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x64]
test bl, bl
je 0x589dc6
mov ebx, ebp
shl ebp, 1
lea edi, [ebp + 1]
mov esi, dword [esp + 0xc4]
cmp esi, edi
jle 0x589dba
cmp esi, ebp
jbe 0x58a010
mov dword [esp + 0x38], edi
mov ebp, dword [esp + 0xc0]
lea edi, [ebp + ebx*8]
mov edi, dword [edi]
test edi, edi
jl 0x589d1c
jmp 0x589ddb
mov ebp, dword [esp + 0xc0]
jmp 0x589d1c
mov ebx, ebp
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
jmp 0x589d1c
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0xac]
test edi, edi
je 0x589eca
mov edi, dword [esp + 0x38]
cmp esi, edi
jbe 0x58a007
lea ebx, [ebp + ebx*8 + 4]
mov ebx, dword [ebx]
mov edi, dword [esp + 0xb4]
cmp edi, ebx
jb 0x589ffe
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jb 0x589ff5
sub ebx, ebp
mov esi, dword [esp + 0x44]
lea edx, [esi + ebx]
sub edi, ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and ebp, edi
mov edi, dword [esp + 0xac]
add ebp, edi
mov edi, dword [esp + 0x48]
cmp edi, edx
jae 0x589e94
mov dword [esp + 0x48], ebx
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
lea eax, [0x5f1b20]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x84]
lea ecx, [eax + esi]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00464cc0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x589fab
mov edi, dword [esp + 0x38]
cmp esi, edi
jbe 0x589fec
lea ebx, [ebp + ebx*8 + 4]
mov ebx, dword [ebx]
mov edi, dword [esp + 0xbc]
cmp edi, ebx
jb 0x589fe3
mov edi, dword [esp + 0x3c]
cmp ebx, edi
jb 0x589fda
sub ebx, edi
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x44]
lea esi, [ebp + ebx]
neg ebx
sar ebx, 0x1f
and ebx, edi
mov edi, dword [esp + 0xb8]
add ebx, edi
mov edi, dword [esp + 0x48]
cmp edi, esi
jae 0x589f65
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x5f1b20]
mov dword [esp + 0x10], ecx
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x84]
lea ecx, [eax + ebp]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00464cc0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x589fab
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
mov ebx, eax
mov ebp, edx
mov eax, dword [esp + 0x64]
mov edx, ecx
mov ecx, dword [esp + 0x24]
mov esi, ecx
mov ecx, eax
mov dword [esp + 0x54], eax
mov eax, ebx
mov ebx, edx
mov edx, eax
jmp 0x5897e5
mov eax, edi
mov ecx, ebx
call fcn.00464460
mov ecx, ebx
mov edx, edi
call fcn.00464420
mov eax, edi
mov ecx, esi
call fcn.00464400
mov eax, ebp
mov ecx, ebx
call fcn.00464460
mov ecx, ebx
mov edx, edi
call fcn.00464440
mov eax, edi
mov ecx, esi
call fcn.00464400
mov eax, ebp
mov ecx, esi
call fcn.00464400
mov eax, edx
mov ecx, ebp
call fcn.00464460
mov ecx, ebp
call fcn.00464420
mov eax, ebp
mov ecx, esi
call fcn.00464400
mov eax, edi
mov ecx, ebp
call fcn.00464460
mov ecx, ebp
call fcn.00464440
mov eax, ebp
mov ecx, esi
call fcn.00464400
mov eax, edx
mov ecx, esi
call fcn.00464400
nop
call fcn.00462f70
jmp fcn.005897a0