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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x599c00
sub esp, 0x70
mov dword [esp + 0x30], 0
lea eax, [0x603720]
mov dword [esp], eax
call fcn.0040e180
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov dword [eax + 0x10], 2
mov eax, dword [esp + 0x30]
test byte [eax], al
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0044c14a
mov byte [esp + 0x58], 5
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
lea esi, [ebx + 1]
cmp esi, edx
jg 0x599b8e
lea edx, [ebx + 1]
mov dword [ecx + 4], edx
lea ecx, [ebx + ebx*2]
lea edi, [ebp + ecx*8]
mov ecx, dword [0x7703f0]
test ecx, ecx
jne 0x599b6f
lea esi, [esp + 0x58]
call fcn.0044c624
lea eax, [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00599c10
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x40]
mov ebx, eax
xor eax, eax
call fcn.0044c14a
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
lea edi, [ebp + 1]
cmp edi, esi
jg 0x599af9
lea edx, [ebp + 1]
mov dword [eax + 4], edx
lea eax, [ebp + ebp*2]
mov edx, dword [0x7703f0]
lea edi, [ecx + eax*8]
test edx, edx
jne 0x599ad9
lea esi, [esp + 0x40]
call fcn.0044c624
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00599890
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x70
ret
lea eax, [0x607340]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0040eb00
mov ebx, dword [esp + 0x24]
jmp 0x599a97
mov dword [esp + 0x3c], eax
lea eax, [0x607340]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call fcn.00438d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 8], edx
mov edx, dword [0x7703f0]
test edx, edx
jne 0x599b4d
mov dword [ebx], eax
mov edx, dword [esp + 0x28]
mov ebp, ecx
mov ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x24]
jmp 0x599a77
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040e9f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
jmp 0x599b3a
lea eax, [0x607340]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.0040eb00
jmp 0x599a1f
mov dword [esp + 0x3c], ecx
lea eax, [0x607340]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00438d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 8], edx
mov edx, dword [0x7703f0]
test edx, edx
jne 0x599bde
mov dword [ebx], eax
mov ebp, eax
xor eax, eax
mov edx, ecx
mov ecx, ebx
mov ebx, edx
jmp 0x5999fb
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040e9f0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
jmp 0x599bcf
call fcn.0044a6e0
jmp fcn.00599990