Function at 0x596f00
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 0x5974c5
sub esp, 0xb8
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x596fbb
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
lea edx, [0x68e4c0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044b730
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
lea edi, [esp + 0x88]
xor eax, eax
call fcn.00463314
lea eax, [0x6b40c0]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
lea edx, [esp + 0x88]
mov dword [esp + 8], edx
call fcn.0040d490
xor eax, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
jmp 0x596ff3
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xb8
ret
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.0040d6c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x88]
test ebx, ebx
je 0x597087
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [eax + 1]
cmp ecx, esi
jae 0x597053
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x68], ebp
lea ebx, [0x68e4c0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.0044b870
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
lea ecx, [edx + eax*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x8e84e0]
lea ebx, [edx + eax*8]
test ecx, ecx
jne 0x597079
mov dword [ebx], ebp
jmp 0x596fd8
mov eax, ebp
mov edi, ebx
call fcn.00463080
jmp 0x596fd8
mov dword [esp + 0x70], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00409260
mov eax, dword [esp + 0xc]
lea ecx, [0x73a990]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00494860
xor eax, eax
jmp 0x5970bc
mov ecx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jge 0x59714b
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x70]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov dword [esp + 0x64], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x38], edx
lea ebp, [0x6b40c0]
mov dword [esp], ebp
mov esi, dword [esp + 0xbc]
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0040fd30
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
nop
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.00594540
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x58]
xor ebp, ebp
jmp 0x5971c2
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xb8
ret
mov dword [esp + 0x40], ebp
mov dword [esp + 0x6c], esi
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00463a10
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 0x28]
cmp ebp, edx
jge 0x5970b5
mov dword [esp + 0x48], ebp
lea esi, [ebx + ebp*8]
mov edi, dword [esi]
mov dword [esp + 0x5c], edi
mov esi, dword [esi + 4]
mov dword [esp + 0x2c], esi
mov ebx, dword [esp + 0x80]
test ebx, ebx
je 0x59728d
nop
nop
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x59720d
lea edx, [esp + 0x78]
cmp ebx, edx
jne 0x5974ac
mov edx, dword [esp + 0x28]
lea ebx, [esp + 0x78]
jmp 0x597215
lea ebx, [esp + 0x78]
mov dword [esp + 0x78], ebx
mov edx, dword [esp + 0x80]
lea ebp, [edx + 1]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
cmp edi, ebp
jae 0x59726f
lea eax, [0x68e6c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.0044b870
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
lea ebx, [esp + 0x78]
lea ebp, [edx + 1]
mov dword [esp + 0x80], ebp
mov byte [esi + edx], 0x26
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
nop
nop
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x5972ad
lea edx, [esp + 0x78]
cmp ebx, edx
jne 0x597494
mov edx, dword [esp + 0x28]
lea ebx, [esp + 0x78]
jmp 0x5972b5
lea ebx, [esp + 0x78]
mov dword [esp + 0x78], ebx
mov edx, dword [esp + 0x80]
lea ebp, [eax + edx]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x7c]
cmp esi, ebp
jae 0x597308
mov dword [esp + 0x40], edx
lea eax, [0x68e6c0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044b870
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], esi
mov dword [esp + 0x6c], edi
add edx, edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00463a10
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
nop
nop
mov eax, dword [esp + 0x78]
test eax, eax
je 0x597357
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x597363
jmp 0x59747c
lea eax, [esp + 0x78]
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x78]
mov eax, dword [esp + 0x80]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x84]
cmp ebp, edx
jae 0x5973b1
lea ecx, [0x68e6c0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044b870
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x7c], ebx
lea ecx, [eax + 1]
mov dword [esp + 0x80], ecx
mov byte [ebx + eax], 0x3d
nop
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.00594540
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x78]
test edx, edx
je 0x5973f8
lea ebx, [esp + 0x78]
cmp edx, ebx
je 0x597400
jmp 0x597464
lea edx, [esp + 0x78]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x80]
lea ebx, [eax + edx]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
cmp ebp, ebx
jae 0x59716b
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], eax
lea eax, [0x68e6c0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b870
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
jmp 0x59716b
lea eax, [0x68e4c0]
mov dword [esp], eax
lea eax, [0x738d40]
mov dword [esp + 4], eax
call fcn.00436f70
lea eax, [0x68e4c0]
mov dword [esp], eax
lea eax, [0x738d40]
mov dword [esp + 4], eax
call fcn.00436f70
lea eax, [0x68e4c0]
mov dword [esp], eax
lea eax, [0x738d40]
mov dword [esp + 4], eax
call fcn.00436f70
lea eax, [0x68e4c0]
mov dword [esp], eax
lea eax, [0x738d40]
mov dword [esp + 4], eax
call fcn.00436f70
nop
call fcn.00461c70
jmp fcn.00596f00