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

Disassembly:
sub esp, 0x104
mov eax, dword [0x6d5ec0]
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 0x57155c
push esi
mov esi, dword [ebx + 0x90]
mov dword [esp + 0x14], esi
lea eax, [esi + 8]
cmp dword [esp + 0x11c], eax
jne 0x57155b
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.005b0460
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.005cba60
add esp, 0x18
cmp dword [ebx + 0x24], 0
jne 0x57124f
lea eax, [esp + 0x74]
push eax
push ebx
call fcn.005b4a40
add esp, 8
mov eax, dword [esp + 0x90]
test eax, eax
je 0x571267
push eax
push dword [esp + 0x14]
call fcn.00579390
add esp, 8
push edi
push dword [esi + 4]
push ebx
call fcn.005ab630
add esp, 0xc
mov esi, eax
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x18], esi
jne 0x571538
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 0x5712bb
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.005c6b80
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x57153c
cmp byte [eax + 0x57], 0
jne 0x57153c
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.0040f370
mov dword [esp + 0x38], 0x5c71a0
test esi, esi
jle 0x571376
mov eax, dword [edi]
test eax, eax
je 0x57136a
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005e0f60
add esp, 8
test eax, eax
jne 0x571372
dec esi
add edi, 0x14
test esi, esi
jg 0x571352
mov eax, dword [esp + 0x18]
cmp word [esp + 0x44], 0
je 0x5713b7
mov esi, dword [eax]
lea edi, [eax + 8]
mov dword [esp + 0x34], 0x5c71f0
mov dword [esp + 0x38], fcn.0040f370
test esi, esi
jle 0x5713b7
mov eax, dword [edi]
test eax, eax
je 0x5713af
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005e0f60
add esp, 8
test eax, eax
jne 0x5713b7
dec esi
add edi, 0x14
test esi, esi
jg 0x571397
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 0x5714fc
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 0x571439
mov word [esp + 0x44], cx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], fcn.005797a0
mov dword [esp + 0x38], 0x5cbb30
test esi, esi
je 0x57142c
lea eax, [esp + 0x30]
push esi
push eax
call fcn.005e0f60
add esp, 8
cmp word [esp + 0x44], 0
je 0x571439
push edi
push esi
push ebx
call fcn.005ad700
add esp, 0xc
jmp 0x571482
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
test esi, esi
je 0x571459
push 0
push 0
push esi
push eax
call fcn.005788c0
mov ebp, eax
add esp, 0x10
mov eax, dword [esp + 0x20]
jmp 0x57145b
xor ebp, ebp
cmp byte [eax + 0x57], 0
jne 0x571470
push edi
push ebp
push ebx
call fcn.005ac450
mov eax, dword [esp + 0x2c]
add esp, 0xc
test ebp, ebp
je 0x57147e
push ebp
push eax
call fcn.005af220
add esp, 8
mov ebp, dword [esp + 0x24]
push esi
call fcn.005abb40
add esp, 4
cmp al, 0x45
jne 0x5714d8
mov ecx, dword [ebp + 0x6c]
cmp dword [ebp + 0x70], ecx
jg 0x5714a9
push 0
push 0
push edi
push 0x57
push ebp
call fcn.00580cd0
add esp, 0x14
jmp 0x5714d8
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 0x5713f1
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.005d2380
mov eax, dword [esp + 0x28]
lea esi, [edi + 1]
push esi
push dword [eax + 0x5c]
push 0x7f
push ebp
call fcn.005d2320
mov eax, dword [esp + 0x38]
push esi
push edi
push dword [eax + 0x5c]
push 0x80
push ebp
call fcn.005d2380
mov esi, dword [esp + 0x50]
add esp, 0x38
mov eax, dword [esp + 0x10]
test esi, esi
je 0x57154a
push esi
push eax
call fcn.00579390
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.0061eb08
add esp, 0x104
ret