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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x598ec5
sub esp, 0xb8
lea eax, [0x6334fc]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00495b00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x598651
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004cd770
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, str._l7kh8_39c_
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004cc7a0
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 0x598dcc
lea edi, [esp + 0x98]
xor eax, eax
call fcn.00462798
lea ecx, [0x631217]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 4
lea ecx, [0x63121f]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], 4
lea ecx, [0x63120f]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], 4
lea ecx, [0x631213]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 4
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x98]
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0xbc]
mov dword [esp], ebx
mov ebp, dword [esp + 0xc0]
mov dword [esp + 4], ebp
lea esi, [0x630f2c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call fcn.004cc390
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x59893a
lea eax, [0x642e33]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.0046e120
movzx eax, byte [esp + 0x10]
test al, al
je 0x598740
xor eax, eax
xor edi, edi
xor ecx, ecx
xor edx, edx
jmp 0x5988e9
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [0x68a518]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 1
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x94], ecx
lea edx, [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004d1ee0
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.00598430
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x598808
xor eax, eax
xor edi, edi
xor ecx, ecx
xor edx, edx
jmp 0x5988e9
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], edx
mov eax, dword [0x7f7c54]
mov dword [esp], eax
call fcn.004bddf0
mov eax, dword [esp + 4]
cmp dword [esp + 8], 1
jne 0x598861
cmp byte [eax], 0x30
jne 0x598861
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xb8
ret
lea eax, [0x60d840]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xc0]
mov dword [edi + 4], eax
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x598892
mov ecx, dword [esp + 0xbc]
mov dword [edi], ecx
jmp 0x5988a9
mov ecx, eax
mov eax, dword [esp + 0xbc]
call fcn.00462500
mov eax, ecx
mov ecx, dword [esp + 0xbc]
mov edx, dword [0x7f8514]
mov ebx, dword [0x7f8510]
mov dword [edi + 8], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x5988c7
mov dword [edi + 0xc], edx
jmp 0x5988db
lea ebx, [edi + 0xc]
mov ebp, edi
mov edi, ebx
mov esi, eax
mov eax, edx
call fcn.00462500
mov eax, esi
mov edi, ebp
lea eax, [0x68bd88]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], edi
lea ebx, [0x6316d3]
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00495b00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004d1c00
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x598a64
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov ecx, dword [esp + 0xc0]
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.00598430
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 0x598a2a
mov dword [esp + 0x74], ebp
mov dword [esp + 0x60], ebx
lea eax, [0x60d840]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xc0]
mov dword [edi + 4], eax
mov eax, dword [0x81dcc0]
test eax, eax
jne 0x5989c1
mov ecx, dword [esp + 0xbc]
mov dword [edi], ecx
jmp 0x5989cd
mov eax, dword [esp + 0xbc]
call fcn.00462500
mov ecx, dword [esp + 0x74]
mov dword [edi + 8], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x5989e7
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
jmp 0x5989f9
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x60]
mov edx, edi
mov edi, ecx
call fcn.00462500
mov edi, edx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
lea eax, [0x68bd88]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
add esp, 0xb8
ret
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xb8
ret
mov ebx, dword [esp + 0x4c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jge 0x598cee
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 + 0xbc]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0xc0]
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.004d1ee0
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.00598430
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x598a55
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x598bb3
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00499930
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.00499930
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x598cbb
test eax, eax
jne 0x598cbb
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0049a4e0
movzx eax, byte [esp + 0x10]
test al, al
je 0x598cbb
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004d17a0
movzx eax, byte [esp + 8]
test al, al
jne 0x598c88
mov eax, dword [0x7f7c54]
mov dword [esp], eax
call fcn.004bddf0
mov eax, dword [esp + 4]
cmp dword [esp + 8], 1
jne 0x598bee
cmp byte [eax], 0x30
je 0x598c88
lea eax, [0x60d840]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xc0]
mov dword [edi + 4], eax
mov eax, dword [0x81dcc0]
test eax, eax
jne 0x598c1f
mov ecx, dword [esp + 0xbc]
mov dword [edi], ecx
jmp 0x598c2b
mov eax, dword [esp + 0xbc]
call fcn.00462500
mov eax, dword [0x7f8514]
mov ecx, dword [0x7f8510]
mov dword [edi + 8], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x598c49
mov dword [edi + 0xc], eax
jmp 0x598c57
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.00462500
mov edi, edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc8], eax
lea eax, [0x68bd88]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
add esp, 0xb8
ret
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xb8
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xd0], eax
add esp, 0xb8
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x598d94
lea eax, [0x60d840]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xc0]
mov dword [edi + 4], eax
mov eax, dword [0x81dcc0]
test eax, eax
jne 0x598d2b
mov ecx, dword [esp + 0xbc]
mov dword [edi], ecx
jmp 0x598d37
mov eax, dword [esp + 0xbc]
call fcn.00462500
mov eax, dword [0x7f851c]
mov ecx, dword [0x7f8518]
mov dword [edi + 8], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x598d55
mov dword [edi + 0xc], eax
jmp 0x598d63
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.00462500
mov edi, edx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
lea eax, [0x68bd88]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edi
add esp, 0xb8
ret
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xd0], eax
add esp, 0xb8
ret
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + 1]
mov ecx, edi
cmp edx, ecx
jge 0x598eba
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 0x598dc3
cmp byte [ecx], 0x2e
je 0x598e39
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x5c], ebp
mov dword [esp], 0
lea eax, [0x68a518]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0044da90
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
inc esi
cmp ebx, esi
jae 0x598e84
mov dword [esp + 0x38], edx
mov dword [esp + 0x64], ecx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5ff840]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x48], ebx
lea ebx, [ebp + esi*8 - 4]
mov dword [ebx], edx
lea edx, [ebp + esi*8 - 8]
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x598ea0
mov dword [edx], ecx
jmp 0x598eb1
mov ebx, edi
mov edi, edx
mov eax, ecx
call fcn.00462500
mov eax, dword [esp + 0x54]
mov edi, ebx
mov ebx, dword [esp + 0x48]
jmp 0x598dc3
mov eax, esi
mov ecx, ebx
mov edx, ebp
jmp 0x5986d0
call fcn.004610f0
jmp fcn.005985b0