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

Disassembly:
sub esp, 0x104
mov eax, dword [0x6d6ec0]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
push edi
mov edi, dword [esp + 0x11c]
cmp byte [ebx + 0x9f], 0
mov ebp, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [esp + 0x20], ebp
mov dword [esp + 0xc], ecx
je 0x571e2c
push esi
mov esi, dword [ebx + 0x90]
mov dword [esp + 0x14], esi
lea eax, [esi + 8]
cmp dword [esp + 0x11c], eax
jne 0x571e2b
xorps xmm0, xmm0
mov dword [esp + 0x8c], 0
push 0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc8], xmm0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 0
movlpd qword [esp + 0xe0], xmm0
movlpd qword [esp + 0xe8], xmm0
movlpd qword [esp + 0xf0], xmm0
movlpd qword [esp + 0xfc], xmm0
movlpd qword [esp + 0x104], xmm0
movlpd qword [esp + 0x10c], xmm0
push dword [esi + 4]
push ecx
call fcn.005b0cf0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0xa0], eax
mov eax, dword [edi]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x80]
push 0
push eax
push ebx
mov dword [esp + 0xd8], 1
mov dword [esp + 0xf0], edi
mov dword [esp + 0x10c], 0xffffffff
call fcn.005cc300
add esp, 0x18
cmp dword [ebx + 0x24], 0
jne 0x571b1f
lea eax, [esp + 0x74]
push eax
push ebx
call fcn.005b52d0
add esp, 8
mov eax, dword [esp + 0x90]
test eax, eax
je 0x571b37
push eax
push dword [esp + 0x14]
call fcn.00579c60
add esp, 8
push edi
push dword [esi + 4]
push ebx
call fcn.005abec0
add esp, 0xc
mov esi, eax
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x18], esi
jne 0x571e08
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], 0
cmp dword [ecx + 0x60], 0
movlpd qword [esp + 0x6c], xmm0
jne 0x571b8b
mov eax, dword [esi]
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x5c], eax
inc dword [ebx + 0x28]
mov eax, dword [esp + 0x124]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x11c]
push esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x6c], 0x400
mov al, byte [eax + 8]
mov byte [ebx + 0x9e], al
lea eax, [esp + 0x54]
push eax
mov dword [ebx + 0x84], edi
call fcn.005c7420
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x571e0c
cmp byte [eax + 0x57], 0
jne 0x571e0c
mov eax, dword [ebx + 0x2c]
xorps xmm0, xmm0
mov esi, dword [esi]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], 0
movlpd qword [esp + 0x3c], xmm0
lea edi, [eax + 8]
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], fcn.0040f310
mov dword [esp + 0x38], 0x5c7a40
test esi, esi
jle 0x571c46
mov eax, dword [edi]
test eax, eax
je 0x571c3a
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005e1800
add esp, 8
test eax, eax
jne 0x571c42
dec esi
add edi, 0x14
test esi, esi
jg 0x571c22
mov eax, dword [esp + 0x18]
cmp word [esp + 0x44], 0
je 0x571c87
mov esi, dword [eax]
lea edi, [eax + 8]
mov dword [esp + 0x34], 0x5c7a90
mov dword [esp + 0x38], fcn.0040f310
test esi, esi
jle 0x571c87
mov eax, dword [edi]
test eax, eax
je 0x571c7f
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005e1800
add esp, 8
test eax, eax
jne 0x571c87
dec esi
add edi, 0x14
test esi, esi
jg 0x571c67
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x1c]
add eax, 2
mov edx, dword [esp + 0x2c]
add eax, ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x64], edx
xor eax, eax
test ecx, ecx
jle 0x571dcc
mov eax, dword [esp + 0x18]
mov edi, edx
add eax, 8
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
mov ecx, 2
cmp byte [ebx + 0x17], 0
mov esi, dword [eax]
je 0x571d09
mov word [esp + 0x44], cx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], fcn.0057a070
mov dword [esp + 0x38], 0x5cc3d0
test esi, esi
je 0x571cfc
lea eax, [esp + 0x30]
push esi
push eax
call fcn.005e1800
add esp, 8
cmp word [esp + 0x44], 0
je 0x571d09
push edi
push esi
push ebx
call fcn.005adf90
add esp, 0xc
jmp 0x571d52
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
test esi, esi
je 0x571d29
push 0
push 0
push esi
push eax
call fcn.00579190
mov ebp, eax
add esp, 0x10
mov eax, dword [esp + 0x20]
jmp 0x571d2b
xor ebp, ebp
cmp byte [eax + 0x57], 0
jne 0x571d40
push edi
push ebp
push ebx
call fcn.005acce0
mov eax, dword [esp + 0x2c]
add esp, 0xc
test ebp, ebp
je 0x571d4e
push ebp
push eax
call fcn.005afab0
add esp, 8
mov ebp, dword [esp + 0x24]
push esi
call fcn.005ac3d0
add esp, 4
cmp al, 0x45
jne 0x571da8
mov ecx, dword [ebp + 0x6c]
cmp dword [ebp + 0x70], ecx
jg 0x571d79
push 0
push 0
push edi
push 0x57
push ebp
call fcn.005815b0
add esp, 0x14
jmp 0x571da8
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp + 0x68]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
inc edi
add eax, 0x14
mov ecx, 2
sub dword [esp + 0x1c], 1
mov dword [esp + 0x28], eax
jne 0x571cc1
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
lea edi, [eax + edx]
push edi
push eax
push edx
push 0x61
push ebp
call fcn.005d2c20
mov eax, dword [esp + 0x28]
lea esi, [edi + 1]
push esi
push dword [eax + 0x5c]
push 0x7f
push ebp
call fcn.005d2bc0
mov eax, dword [esp + 0x38]
push esi
push edi
push dword [eax + 0x5c]
push 0x80
push ebp
call fcn.005d2c20
mov esi, dword [esp + 0x50]
add esp, 0x38
mov eax, dword [esp + 0x10]
test esi, esi
je 0x571e1a
push esi
push eax
call fcn.00579c60
add esp, 8
mov byte [ebx + 0x9e], 0
mov dword [ebx + 0x84], 0
pop esi
mov ecx, dword [esp + 0x10c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0061f478
add esp, 0x104
ret