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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x598ab1
sub esp, 0x74
mov eax, dword [esp + 0x80]
test eax, eax
je 0x598999
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00573cf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x59898d
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 8]
mov dword [esp + 0x64], ebx
cmp eax, 9
jne 0x59888e
mov dword [esp], ebx
lea eax, [0x5d8599]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.00403080
movzx eax, byte [esp + 0xc]
test al, al
jne 0x598981
lea eax, [0x5ae080]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call fcn.00572830
movzx eax, byte [esp + 0x18]
lea edi, [esp + 0x4c]
lea esi, [esp + 8]
call fcn.00467448
lea edi, [esp + 0x3c]
lea esi, [esp + 0x4c]
call fcn.00467448
mov edi, dword [esp + 0x70]
lea esi, [esp + 0x3c]
call fcn.00467448
test al, al
je 0x5988f3
mov eax, dword [esp + 0x70]
mov ecx, 0x10
jmp 0x5988f7
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x5c], eax
test eax, eax
je 0x59891c
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.005716b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x598975
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.004ae0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ad9f0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x5989a5
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x68], ebp
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x34], esi
xor edi, edi
jmp 0x598a57
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x30]
mov dword [esp + 0x68], ebp
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x34], ebx
xor esi, esi
jmp 0x5989d6
mov edi, dword [esp + 0x30]
lea esi, [edi + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x68]
cmp esi, ebx
jge 0x598a2c
mov dword [esp + 0x30], esi
lea ebx, [ebp + esi*8]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov edi, dword [edi + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
call edi
movzx eax, byte [esp + 0x20]
test al, al
je 0x5989bb
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x34]
cmp edi, esi
jge 0x5989a5
mov dword [esp + 0x30], edi
lea ebx, [ebp + edi*8]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
mov esi, dword [esi + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
call esi
movzx eax, byte [esp + 0x20]
test al, al
je 0x598a38
mov byte [esp + 0x84], 0
add esp, 0x74
ret
call fcn.00465910
jmp fcn.00598800