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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x596f32
sub esp, 0x54
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.0044a374
mov ecx, dword [esp + 0x58]
lea edx, [ecx + 0x48]
mov dword [esp + 0x50], edx
test byte [edx], al
mov ebx, dword [ecx + 0x34]
mov ebp, dword [ecx + 0x30]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
lea ebx, [0x6bed80]
mov dword [esp], ebx
call fcn.0040a990
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xa
mov dword [esp + 0x10], 0x200
call fcn.0045afe0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x596f20
mov eax, dword [esp + 0x58]
movzx ecx, byte [eax + 0x48]
cmp cl, 0x1f
je 0x5969a4
mov eax, dword [0x872680]
mov ecx, dword [0x872684]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x54
ret
movzx ecx, byte [eax + 0x49]
cmp cl, 0x8b
jne 0x596986
movzx ecx, byte [eax + 0x4a]
cmp cl, 8
jne 0x596986
movzx ecx, byte [eax + 0x4b]
mov byte [esp + 0x23], cl
mov edx, 4
mov edx, dword [eax + edx + 0x48]
test edx, edx
seta bl
and ebx, 1
test bl, bl
je 0x5969fb
add edx, 0x7791f700
mov ebx, dword [0x86e008]
mov dword [esp + 0x70], edx
mov edx, 0
adc edx, 0xe
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
movzx edx, byte [eax + 0x51]
mov byte [esp + 0x88], dl
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], 0xa
mov dword [esp + 8], 0x200
call fcn.00595df0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x40], eax
movzx eax, byte [esp + 0x23]
test al, 4
jne 0x596cde
test al, 8
jne 0x596c94
test al, 0x10
jne 0x596c50
test al, 2
jne 0x596b62
mov dword [ecx + 0x40], 0
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
test eax, eax
je 0x596b03
lea ebx, [0x6be000]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040aa10
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0xc]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x6bed80]
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x54
ret
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x6bed80]
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00594790
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
mov dword [edx + 0x38], eax
mov eax, dword [0x884700]
lea ebx, [edx + 0x3c]
test eax, eax
jne 0x596b54
mov dword [edx + 0x3c], ecx
jmp 0x596ae9
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
jmp 0x596ae9
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x6bed80]
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
call fcn.0045afe0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x596c1b
mov edx, dword [0x8729e0]
cmp ecx, edx
je 0x596bda
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x8729e4]
mov ebx, dword [0x8729e0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004022c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x596c11
mov eax, dword [0x872a0c]
mov ecx, dword [0x872a08]
jmp 0x596bc8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
jmp 0x596bc8
mov eax, dword [esp + 0x58]
movzx ecx, word [eax + 0x48]
mov edx, dword [eax + 0x40]
cmp cx, dx
jne 0x596c32
mov ecx, eax
jmp 0x596a56
mov eax, dword [0x872684]
mov ecx, dword [0x872680]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov dword [esp], ecx
call fcn.00596680
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x596c82
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x58]
jmp 0x596a4d
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
add esp, 0x54
ret
mov dword [esp], ecx
call fcn.00596680
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ecx, ecx
jne 0x596ccc
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x58]
jmp 0x596a44
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x30]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
lea edx, [0x6bed80]
mov dword [esp], edx
call fcn.0040a990
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
call fcn.0045afe0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x596d97
mov edx, dword [0x8729e0]
cmp ecx, edx
je 0x596d56
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x8729e4]
mov ebx, dword [0x8729e0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004022c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x596d8d
mov ecx, dword [0x872a08]
mov eax, dword [0x872a0c]
jmp 0x596d44
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
jmp 0x596d44
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
mov dword [esp], ecx
mov ecx, dword [0x8720f0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
call fcn.00595b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x40], eax
movzx eax, word [ecx + 0x48]
lea edx, [0x6b4b60]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00437440
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea ebp, [0x6bed80]
mov dword [esp], ebp
call fcn.0040a990
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call fcn.0045afe0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x596ec2
mov edx, dword [0x8729e0]
cmp ecx, edx
je 0x596e81
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x8729e4]
mov ebx, dword [0x8729e0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004022c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x596eb8
mov eax, dword [0x872a0c]
mov ecx, dword [0x872a08]
jmp 0x596e6f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
jmp 0x596e6f
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
mov dword [esp], ecx
mov ecx, dword [0x8720f0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
call fcn.00595b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
movzx eax, byte [esp + 0x23]
jmp 0x596a3b
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
add esp, 0x54
ret
call fcn.004486b0
jmp fcn.005968f0