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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x596cc7
sub esp, 0x64
mov eax, dword [esp + 0x90]
test eax, eax
je 0x596cad
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xc], ebp
insb byte es:[edi], dx
and al, 0xc
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x94]
mov dword [esp + 0x14], esi
call fcn.005946e0
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x596add
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jg 0x596aac
mov edx, eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
cmp eax, edx
jle 0x596aa8
mov dword [esp + 0x60], ebx
mov dword [esp], ebx
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
shl edx, 2
mov dword [esp + 8], edx
call fcn.0044e470
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xac], eax
add esp, 0x64
ret
mov edx, eax
jmp 0x596a44
lea ecx, [0x7cf6e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [eax + 4]
mov dword [esp + 8], ecx
call fcn.00439eb0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x84]
jmp 0x596a38
mov eax, dword [esp + 0x90]
cmp eax, 1
jne 0x596bf1
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
call fcn.005967d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
jne 0x596b83
xor eax, eax
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ebp
add esp, 0x64
ret
mov ebp, dword [esp + 0x7c]
cmp ebp, 1
jl 0x596ba5
mov esi, 1
mov edi, dword [esp + 0x74]
test esi, esi
jbe 0x596ca6
mov dword [edi], eax
mov eax, esi
mov esi, edi
jmp 0x596b55
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ebx
lea eax, [0x7cf6e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 5
call fcn.00439eb0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
jmp 0x596b95
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
call fcn.00596e20
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], esi
add esp, 0x64
ret
call fcn.00426a70
ud2
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [0x9b0120]
mov dword [esp + 4], eax
call fcn.004278c0
ud2
call fcn.0044c200
jmp fcn.005969b0