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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x571c7f
sub esp, 0x84
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.0045f763
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x571a20
mov eax, dword [0xa1da60]
mov edx, dword [0xa1da64]
mov ebx, dword [0xa1da68]
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x90]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.0056dc30
movzx eax, byte [esp + 0x18]
test al, al
je 0x571a34
xor eax, eax
mov ecx, dword [0xa17858]
mov edx, dword [0xa1785c]
mov ebx, dword [0xa17860]
jmp 0x571a4b
xor eax, eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
cmp edx, 4
jne 0x571b16
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
movzx ebp, byte [ecx]
movzx esi, byte [ecx + 1]
movzx edi, byte [ecx + 2]
movzx eax, byte [ecx + 3]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ebx, dword [0xa17888]
mov edx, dword [0xa1788c]
cmp edx, 0x10
jl 0x571aa1
mov edx, 0x10
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x30]
cmp ebx, ecx
je 0x571ae7
xchg ebp, eax
mov byte [esp + 0x1f], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x1e], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x1d], al
xchg edi, eax
mov byte [esp + 0x1c], al
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0045fe60
movzx eax, byte [esp + 0x1c]
movzx ebp, byte [esp + 0x1f]
movzx esi, byte [esp + 0x1e]
movzx edi, byte [esp + 0x1d]
xchg ebp, eax
mov byte [esp + 0x3c], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x3d], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
mov byte [esp + 0x3f], al
xor eax, eax
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x30]
mov edx, 0x10
jmp 0x571b29
cmp edx, 0x10
jne 0x571b21
mov ebp, ecx
mov esi, edx
jmp 0x571b29
mov ebp, ecx
mov esi, edx
xor ecx, ecx
xor edx, edx
test ecx, ecx
je 0x571bda
mov dword [esp + 0x20], edx
mov dword [esp + 0x74], ecx
lea eax, [0xa1dfe0]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], eax
call fcn.0056cab0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0045f763
mov eax, dword [esp + 0x94]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jl 0x571b91
mov eax, 0x10
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x48]
cmp ecx, edx
je 0x571bad
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045fe60
lea edi, [esp + 0xa0]
lea esi, [esp + 0x40]
call fcn.0045fbfe
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
add esp, 0x84
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.0056d540
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
lea edx, [0x68eb20]
mov dword [esp], edx
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x6bb364]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x571c3b
mov ecx, dword [esp + 0x80]
mov dword [eax + 8], ecx
jmp 0x571c4e
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x80]
call fcn.0045f670
mov eax, ecx
mov dword [esp + 0x7c], eax
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.0045f763
lea ecx, [0x895644]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xd8], ecx
add esp, 0x84
ret
call fcn.0045e260
jmp fcn.005719a0