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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x6589c7ac
sub esp, 0xa8
lea eax, [0x658e2631]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.658836a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x6589bf31
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.6588ef80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x658e1e1e]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.6588e440
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x6589c6ad
lea edi, [esp + 0x88]
xor eax, eax
call fcn.6585fce8
lea ecx, [0x658e202c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 4
lea ecx, [0x658e2030]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 4
lea ecx, [0x658e2024]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 4
lea ecx, [0x658e2028]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], 4
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x88]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 4], ebp
lea esi, [0x658e1f1d]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call fcn.6588e030
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x6589c213
lea eax, [0x658e910a]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.65867750
movzx eax, byte [esp + 0x10]
test al, al
je 0x6589c020
xor eax, eax
xor edi, edi
xor ecx, ecx
xor edx, edx
jmp 0x6589c1c2
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x658e1e1a]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
mov eax, dword [esp + 0xac]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.65890b20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call fcn.6589bd10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x6589c0d9
xor eax, eax
xor edi, edi
xor ecx, ecx
xor edx, edx
jmp 0x6589c1c2
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], edx
lea eax, [0x658e2ef9]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.658983d0
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], 1
jne 0x6589c13a
cmp byte [eax], 0x30
jne 0x6589c13a
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xa8
ret
lea eax, [0x658d6e40]
mov dword [esp], eax
call fcn.6580b9e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov ecx, dword [0x65a345b0]
test ecx, ecx
jne 0x6589c16b
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x6589c182
mov ecx, eax
mov eax, dword [esp + 0xac]
call fcn.6585fb10
mov eax, ecx
mov ecx, dword [esp + 0xac]
mov edx, dword [0x65a0e60c]
mov ebx, dword [0x65a0e608]
mov dword [edi + 8], ebx
mov ebx, dword [0x65a345b0]
test ebx, ebx
jne 0x6589c1a0
mov dword [edi + 0xc], edx
jmp 0x6589c1b4
lea ebx, [edi + 0xc]
mov ebp, edi
mov edi, ebx
mov esi, eax
mov eax, edx
call fcn.6585fb10
mov eax, esi
mov edi, ebp
lea eax, [0x6599c934]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], eax
lea ebx, [0x658e2158]
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.658836a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.65890f40
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x6589c33d
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call fcn.6589bd10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x6589c303
mov dword [esp + 0x74], ebp
mov dword [esp + 0x60], ebx
lea eax, [0x658d6e40]
mov dword [esp], eax
call fcn.6580b9e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov eax, dword [0x65a345b0]
test eax, eax
jne 0x6589c29a
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x6589c2a6
mov eax, dword [esp + 0xac]
call fcn.6585fb10
mov ecx, dword [esp + 0x74]
mov dword [edi + 8], ecx
mov ecx, dword [0x65a345b0]
test ecx, ecx
jne 0x6589c2c0
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
jmp 0x6589c2d2
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x60]
mov edx, edi
mov edi, ecx
call fcn.6585fb10
mov edi, edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [0x6599c934]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edi
add esp, 0xa8
ret
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xa8
ret
mov ebx, dword [esp + 0x4c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jge 0x6589c5cf
mov dword [esp + 0x4c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x84], ebx
lea ebp, [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.65890b20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call fcn.6589bd10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x6589c32e
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x6589c48c
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.65886880
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
call fcn.65886880
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x6589c59c
test eax, eax
jne 0x6589c59c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.658871f0
movzx eax, byte [esp + 0x10]
test al, al
je 0x6589c59c
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.65890cc0
movzx eax, byte [esp + 8]
test al, al
jne 0x6589c569
lea eax, [0x658e2ef9]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.658983d0
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], 1
jne 0x6589c4cf
cmp byte [eax], 0x30
je 0x6589c569
lea eax, [0x658d6e40]
mov dword [esp], eax
call fcn.6580b9e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov eax, dword [0x65a345b0]
test eax, eax
jne 0x6589c500
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x6589c50c
mov eax, dword [esp + 0xac]
call fcn.6585fb10
mov eax, dword [0x65a0e60c]
mov ecx, dword [0x65a0e608]
mov dword [edi + 8], ecx
mov ecx, dword [0x65a345b0]
test ecx, ecx
jne 0x6589c52a
mov dword [edi + 0xc], eax
jmp 0x6589c538
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.6585fb10
mov edi, edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb8], eax
lea eax, [0x6599c934]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edi
add esp, 0xa8
ret
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xa8
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc0], eax
add esp, 0xa8
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x6589c675
lea eax, [0x658d6e40]
mov dword [esp], eax
call fcn.6580b9e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xb0]
mov dword [edi + 4], eax
mov eax, dword [0x65a345b0]
test eax, eax
jne 0x6589c60c
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x6589c618
mov eax, dword [esp + 0xac]
call fcn.6585fb10
mov eax, dword [0x65a0e614]
mov ecx, dword [0x65a0e610]
mov dword [edi + 8], ecx
mov ecx, dword [0x65a345b0]
test ecx, ecx
jne 0x6589c636
mov dword [edi + 0xc], eax
jmp 0x6589c644
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.6585fb10
mov edi, edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [0x6599c934]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edi
add esp, 0xa8
ret
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc0], eax
add esp, 0xa8
ret
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + 1]
mov ecx, edi
cmp edx, ecx
jge 0x6589c7a1
mov dword [esp + 0x4c], edx
mov edi, ecx
lea ecx, [eax + edx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x6589c6a4
mov dword [esp + 0x30], ebx
cmp byte [ecx], 0x2e
je 0x6589c71a
mov dword [esp + 0x34], ebp
mov dword [esp + 0x5c], esi
mov dword [esp], 0
lea eax, [0x658e1e1a]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.6584d270
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
lea ecx, [ebx + 1]
cmp ebp, ecx
jae 0x6589c766
mov dword [esp + 0x38], edx
lea eax, [0x658d3a60]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.65849be0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
lea ecx, [esi + ebx*8 + 4]
mov dword [ecx], edx
mov ecx, dword [0x65a345b0]
lea edx, [esi + ebx*8]
test ecx, ecx
jne 0x6589c785
mov ecx, dword [esp + 0x64]
mov dword [edx], ecx
jmp 0x6589c798
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x64]
call fcn.6585fb10
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x48]
jmp 0x6589c6a4
mov eax, ebp
mov ecx, ebx
mov edx, esi
jmp 0x6589bfb0
call fcn.6585e6e0
jmp fcn.6589be90