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

Disassembly:
mov eax, 0x38
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x58]
shr edi, 4
mov ecx, dword [esi + 0x50]
mov ebx, edi
mov dword [esp + 0x10], eax
add ebx, ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x54]
adc ebp, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebp
test edi, edi
je 0x571d30
test ebp, ebp
jne 0x571d30
cmp dword [esi + 0x10], ebp
je 0x571d30
mov eax, ebx
xor ecx, ecx
shr eax, 1
je 0x571c45
nop
inc ecx
shr eax, 1
jne 0x571c40
push ecx
push esi
call fcn.005724f0
add esp, 8
test eax, eax
je 0x571eb0
lea eax, [esi + 0x88]
push eax
push dword [esi + 0x40]
lea eax, [esi + 0x78]
push eax
mov eax, dword [esi + 0x50]
inc eax
push eax
push dword [esi + 8]
mov eax, dword [esi + 0x10]
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call eax
add esp, 0x20
mov edi, dword [esp + 0x58]
and edi, 0xf
jbe 0x571d12
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x78]
xor dword [ecx], eax
mov eax, dword [esi + 0x24]
xor dword [ecx + 4], eax
mov eax, dword [esi + 0x28]
xor dword [esi + 0x80], eax
mov eax, dword [esi + 0x2c]
xor dword [esi + 0x84], eax
lea eax, [esp + 0x34]
push dword [esi + 8]
push eax
mov eax, dword [esi]
push ecx
call eax
push dword [esp + 0x20]
lea eax, [esp + 0x44]
push edi
push eax
push dword [esp + 0x28]
call fcn.005722c0
push edi
push dword [esp + 0x30]
lea eax, [esp + 0x58]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x5c], xmm0
call fcn.005c9520
mov byte [esp + edi + 0x5c], 0x80
add esp, 0x28
mov eax, dword [esp + 0x34]
xor dword [esi + 0x88], eax
mov eax, dword [esp + 0x38]
xor dword [esi + 0x8c], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x90], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x94], eax
pop edi
mov dword [esi + 0x50], ebx
mov eax, 1
mov dword [esi + 0x54], ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005c7d0a
add esp, 0x38
ret
add ecx, 1
mov dword [esp + 0x1c], ecx
adc eax, 0
mov dword [esp + 0x20], eax
cmp eax, ebp
ja 0x571c7e
jb 0x571d50
cmp ecx, ebx
ja 0x571c7e
mov edx, ecx
xor edi, edi
and ecx, 1
or ecx, edi
jne 0x571d71
nop dword [eax + eax]
shrd edx, eax, 1
inc edi
mov ecx, edx
shr eax, 1
and ecx, 1
or ecx, 0
je 0x571d60
push edi
push esi
call fcn.005724f0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x571eb0
mov ebp, dword [ebx]
mov eax, dword [ebx + 4]
xor eax, dword [esi + 0x7c]
xor ebp, dword [esi + 0x78]
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], eax
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
xor edi, dword [esi + 0x80]
xor ebx, dword [esi + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], ebx
mov dword [esp + 0x28], ebp
movups xmm1, xmmword [eax]
mov ebp, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
movaps xmm0, xmm1
psrldq xmm0, 4
movd edx, xmm0
movaps xmm0, xmm1
movd esi, xmm1
movups xmmword [esp + 0x34], xmm1
xor dword [eax + 0x88], esi
xor dword [eax + 0x8c], edx
xor esi, dword [esp + 0x28]
xor edx, dword [esp + 0x2c]
psrldq xmm0, 8
movd ecx, xmm0
psrldq xmm1, 0xc
mov dword [esp + 0x34], esi
mov esi, ebp
xor dword [eax + 0x90], ecx
xor ecx, edi
movd eax, xmm1
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
xor dword [ebp + 0x94], eax
xor eax, ebx
push dword [esi + 8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push eax
push eax
mov eax, dword [esi]
call eax
mov eax, dword [esi + 0x78]
add esp, 0xc
xor dword [esp + 0x34], eax
mov eax, dword [esi + 0x7c]
xor dword [esp + 0x38], eax
mov eax, dword [esi + 0x80]
xor dword [esp + 0x3c], eax
mov eax, dword [esi + 0x84]
xor dword [esp + 0x40], eax
mov edx, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
movups xmmword [edx], xmm0
add edx, 0x10
add ecx, 1
mov dword [esp + 0x14], edx
adc eax, 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp eax, ebp
jb 0x571d50
mov ebx, dword [esp + 0x24]
ja 0x571c7e
cmp ecx, ebx
jbe 0x571d50
jmp 0x571c7e
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x38
ret