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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x59851d
sub esp, 0x88
lea eax, [0x63ea9e]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00491fe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x597fc1
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c6210
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x63bf22]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004c56e0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x59841e
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0045ebb8
lea ecx, [0x63c61b]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], 4
lea ecx, [0x63c627]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 4
lea ecx, [0x63c613]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 4
lea ecx, [0x63c617]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 4
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x68]
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 4], ebp
lea esi, [0x63c213]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call fcn.004c52d0
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x598178
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x63bf1d]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x64], ecx
lea edx, [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004c9bc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.00597da0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x59814d
lea eax, [0x63cb43]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.00491fe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ca430
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x5982a2
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.00597da0
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 0x598268
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], ebx
lea eax, [0x61aca0]
mov dword [esp], eax
call fcn.0040b380
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov eax, dword [0x84c5a0]
test eax, eax
jne 0x5981ff
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
jmp 0x59820b
mov eax, dword [esp + 0x8c]
call fcn.0045e940
mov ecx, dword [esp + 0x54]
mov dword [edi + 8], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x598225
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
jmp 0x598237
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x4c]
mov edx, edi
mov edi, ecx
call fcn.0045e940
mov edi, edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x6a4e4c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edi
add esp, 0x88
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jge 0x59837b
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x64], ebx
lea ebp, [esp + 0x58]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004c9bc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.00597da0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x598293
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
lea eax, [0x61aca0]
mov dword [esp], eax
call fcn.0040b380
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov eax, dword [0x84c5a0]
test eax, eax
jne 0x5983ac
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
jmp 0x5983b8
mov eax, dword [esp + 0x8c]
call fcn.0045e940
mov eax, dword [0x825b94]
mov ecx, dword [0x825b90]
mov dword [edi + 8], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5983d6
mov dword [edi + 0xc], eax
jmp 0x5983e4
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045e940
mov edi, edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x6a4e4c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edi
add esp, 0x88
ret
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ecx, edi
cmp edx, ecx
jge 0x598512
mov dword [esp + 0x3c], edx
mov edi, ecx
lea ecx, [eax + edx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x598415
mov dword [esp + 0x2c], ebx
cmp byte [ecx], 0x2e
je 0x59848b
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], esi
mov dword [esp], 0
lea eax, [0x63bf1d]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0044b330
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
lea ecx, [ebx + 1]
cmp ebp, ecx
jae 0x5984d7
mov dword [esp + 0x34], edx
lea eax, [0x60c800]
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.00447e40
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
lea ecx, [esi + ebx*8 + 4]
mov dword [ecx], edx
mov ecx, dword [0x84c5a0]
lea edx, [esi + ebx*8]
test ecx, ecx
jne 0x5984f6
mov ecx, dword [esp + 0x50]
mov dword [edx], ecx
jmp 0x598509
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x50]
call fcn.0045e940
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x38]
jmp 0x598415
mov eax, ebx
mov ecx, ebp
mov edx, esi
jmp 0x598028
call fcn.0045d530
jmp fcn.00597f20