Function at 0x57d8b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x120
call fcn.005834f0
mov eax, dword [0x63e758]
xor eax, esp
mov dword [esp + 0x11c], eax
test dword [0x6591a8], 0x800000
mov ecx, dword [esp + 0x128]
push ebp
mov ebp, dword [esp + 0x128]
mov dword [esp + 0x54], ebp
jne 0x57e011
push ebx
lea eax, [esp + 0x64]
sub eax, ebp
lea ebx, [ecx + 0x3f]
push esi
mov dword [esp + 0x58], eax
mov esi, ecx
push edi
lea eax, [esp + 0x6c]
mov dword [esp + 0x48], ebx
sub esi, eax
mov edi, 0xffffffc1
mov eax, dword [esp + 0x13c]
sub edi, ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0xac]
xor edx, edx
cmp eax, ebx
ja 0x57d93c
lea eax, [ebx - 0x3f]
lea ecx, [esp + 0xeb]
cmp ecx, eax
jae 0x57d982
lea eax, [esp + 0xac]
lea ecx, [ebp + 0x3f]
cmp eax, ecx
ja 0x57d955
lea eax, [esp + 0xeb]
cmp eax, ebp
jae 0x57d982
lea eax, [esp + 0x6c]
cmp eax, ebx
ja 0x57d96f
lea edi, [esp + 0xab]
lea eax, [ebx - 0x3f]
cmp edi, eax
mov edi, dword [esp + 0x4c]
jae 0x57d982
lea eax, [esp + 0x6c]
cmp eax, ecx
ja 0x57d9b3
lea eax, [esp + 0xab]
cmp eax, ebp
jb 0x57d9b3
mov esi, ebp
lea eax, [esp + 0xac]
sub esi, eax
lea ecx, [ecx]
lea eax, [esp + 0xac]
add eax, edx
mov cl, byte [eax + esi]
mov byte [eax], cl
add eax, esi
add eax, edi
mov al, byte [eax + ebx]
xor al, cl
mov byte [esp + edx + 0x6c], al
inc edx
cmp edx, 0x40
jl 0x57d990
jmp 0x57d9f2
mov ecx, ebp
lea eax, [esp + 0x6c]
sub ecx, eax
jmp 0x57d9c0
lea eax, [esp + 0x6c]
add eax, edx
movdqu xmm0, xmmword [eax + ecx]
movdqu xmm1, xmmword [esi + eax]
movdqu xmmword [esp + edx + 0xac], xmm0
movdqu xmm0, xmmword [esp + edx + 0xac]
add edx, 0x10
pxor xmm1, xmm0
movdqu xmmword [eax], xmm1
cmp edx, 0x40
jl 0x57d9c0
mov eax, 0x610688
mov dword [esp + 0x54], eax
jmp 0x57da00
xor esi, esi
mov dword [esp + 0x1c], esi
test esi, esi
je 0x57da1d
xorps xmm0, xmm0
movlpd qword [esp + 0x64], xmm0
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
jmp 0x57da22
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esi*8]
mov dword [esp + 0x44], eax
lea ebp, [esp + 0xec]
add eax, ebp
mov dword [esp + 0x2c], eax
mov dword [eax], ecx
lea ecx, [esi - 1]
and ecx, 7
mov dword [eax + 4], edx
movzx ecx, byte [esp + ecx*8 + 0xad]
mov eax, dword [ecx*8 + 0x60fe88]
mov dword [esp + 0x38], eax
mov eax, dword [ecx*8 + 0x60fe8c]
lea ecx, [esi - 2]
and ecx, 7
mov dword [esp + 0x40], eax
movzx ecx, byte [esp + ecx*8 + 0xae]
mov eax, dword [ecx*8 + 0x60fe88]
mov dword [esp + 0x30], eax
mov eax, dword [ecx*8 + 0x60fe8c]
lea ecx, [esi - 3]
and ecx, 7
mov dword [esp + 0x24], eax
movzx ecx, byte [esp + ecx*8 + 0xaf]
mov eax, dword [ecx*8 + 0x60fe88]
mov dword [esp + 0x34], eax
mov eax, dword [ecx*8 + 0x60fe8c]
lea ecx, [esi - 4]
and ecx, 7
mov dword [esp + 0x28], eax
movzx ecx, byte [esp + ecx*8 + 0xb0]
mov edx, dword [ecx*8 + 0x60fe88]
mov ebp, dword [ecx*8 + 0x60fe8c]
lea ecx, [esi + 3]
and ecx, 7
mov dword [esp + 0x3c], edx
movzx ecx, byte [esp + ecx*8 + 0xb1]
mov ebx, dword [ecx*8 + 0x60fe88]
mov edi, dword [ecx*8 + 0x60fe8c]
lea ecx, [esi + 2]
and ecx, 7
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x40]
movzx ecx, byte [esp + ecx*8 + 0xb2]
mov esi, dword [ecx*8 + 0x60fe88]
mov edx, dword [ecx*8 + 0x60fe8c]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
and ecx, 7
movzx ecx, byte [esp + ecx*8 + 0xb3]
mov eax, dword [ecx*8 + 0x60fe88]
mov ecx, dword [ecx*8 + 0x60fe8c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
shrd ecx, ebx, 8
xor ecx, dword [esp + 0x30]
shr ebx, 8
xor ebx, dword [esp + 0x24]
shrd ecx, ebx, 8
xor ecx, dword [esp + 0x34]
shr ebx, 8
xor ebx, dword [esp + 0x28]
shrd ecx, ebx, 8
mov dword [esp + 0x14], ebx
shr dword [esp + 0x14], 8
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
xor ebx, ebp
mov ecx, dword [esp + 0x3c]
xor dword [esp + 0x10], ecx
shrd dword [esp + 0x10], ebx, 8
shr ebx, 8
mov dword [esp + 0x14], ebx
mov ecx, ebx
mov ebx, dword [esp + 0x20]
xor ecx, edi
xor dword [esp + 0x10], ebx
shrd dword [esp + 0x10], ecx, 8
shr ecx, 8
xor dword [esp + 0x10], esi
xor ecx, edx
shrd dword [esp + 0x10], ecx, 8
xor dword [esp + 0x10], eax
shr ecx, 8
xor ecx, dword [esp + 0x18]
shld dword [esp + 0x18], eax, 8
shrd dword [esp + 0x10], ecx, 8
shl eax, 8
xor eax, esi
shr ecx, 8
mov esi, dword [esp + 0x18]
xor esi, edx
mov dword [esp + 0x20], eax
mov edx, eax
mov dword [esp + 0x14], ecx
shld esi, edx, 8
mov eax, dword [esp + 0x10]
shl edx, 8
xor esi, edi
xor edx, ebx
shld esi, edx, 8
shl edx, 8
xor esi, ebp
xor edx, dword [esp + 0x3c]
shld esi, edx, 8
xor esi, dword [esp + 0x28]
shl edx, 8
xor edx, dword [esp + 0x34]
shld esi, edx, 8
xor esi, dword [esp + 0x24]
shl edx, 8
xor edx, dword [esp + 0x30]
shld esi, edx, 8
xor esi, dword [esp + 0x40]
shl edx, 8
xor edx, dword [esp + 0x38]
shld esi, edx, 8
shl edx, 8
xor eax, edx
mov edx, ecx
mov ecx, dword [esp + 0x44]
xor edx, esi
mov esi, dword [esp + 0x1c]
movzx ecx, byte [esp + ecx + 0xac]
xor eax, dword [ecx*8 + 0x60fe88]
xor edx, dword [ecx*8 + 0x60fe8c]
mov ecx, dword [esp + 0x2c]
xor dword [ecx], eax
xor dword [ecx + 4], edx
mov eax, dword [esp + 0x54]
cmp esi, 8
jl 0x57da06
movdqu xmm0, xmmword [esp + 0xec]
mov esi, 2
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], esi
movdqu xmmword [esp + 0xac], xmm0
mov dword [esp + 0x20], 8
movdqu xmm0, xmmword [esp + 0xfc]
movdqu xmmword [esp + 0xbc], xmm0
movdqu xmm0, xmmword [esp + 0x10c]
movdqu xmmword [esp + 0xcc], xmm0
movdqu xmm0, xmmword [esp + 0x11c]
movdqu xmmword [esp + 0xdc], xmm0
lea ebx, [ebx]
lea ecx, [esi - 3]
and ecx, 7
movzx ecx, byte [esp + ecx*8 + 0x6d]
mov eax, dword [ecx*8 + 0x60fe88]
mov dword [esp + 0x34], eax
mov eax, dword [ecx*8 + 0x60fe8c]
lea ecx, [esi - 4]
and ecx, 7
mov dword [esp + 0x3c], eax
movzx ecx, byte [esp + ecx*8 + 0x6e]
mov eax, dword [ecx*8 + 0x60fe88]
mov dword [esp + 0x30], eax
mov eax, dword [ecx*8 + 0x60fe8c]
lea ecx, [esi + 3]
and ecx, 7
mov dword [esp + 0x28], eax
movzx ecx, byte [esp + ecx*8 + 0x6f]
mov eax, dword [ecx*8 + 0x60fe88]
mov dword [esp + 0x38], eax
mov eax, dword [ecx*8 + 0x60fe8c]
lea ecx, [esi + 2]
and ecx, 7
mov dword [esp + 0x24], eax
lea eax, [esi + 1]
mov dword [esp + 0x64], eax
and eax, 7
movzx ecx, byte [esp + ecx*8 + 0x70]
mov edx, dword [ecx*8 + 0x60fe88]
mov ebp, dword [ecx*8 + 0x60fe8c]
movzx ecx, byte [esp + eax*8 + 0x71]
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x3c]
mov ebx, dword [ecx*8 + 0x60fe88]
mov edi, dword [ecx*8 + 0x60fe8c]
mov ecx, esi
and ecx, 7
movzx ecx, byte [esp + ecx*8 + 0x72]
mov esi, dword [ecx*8 + 0x60fe88]
mov edx, dword [ecx*8 + 0x60fe8c]
mov ecx, dword [esp + 0x1c]
dec ecx
and ecx, 7
movzx ecx, byte [esp + ecx*8 + 0x73]
mov eax, dword [ecx*8 + 0x60fe88]
mov ecx, dword [ecx*8 + 0x60fe8c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
shrd ecx, ebp, 8
xor ecx, dword [esp + 0x30]
shr ebp, 8
xor ebp, dword [esp + 0x28]
shrd ecx, ebp, 8
xor ecx, dword [esp + 0x38]
shr ebp, 8
xor ebp, dword [esp + 0x24]
shrd ecx, ebp, 8
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
xor dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
shr dword [esp + 0x14], 8
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
xor ecx, ebp
shrd dword [esp + 0x10], ecx, 8
xor dword [esp + 0x10], ebx
shr ecx, 8
xor ecx, edi
shrd dword [esp + 0x10], ecx, 8
xor dword [esp + 0x10], esi
shr ecx, 8
xor ecx, edx
shrd dword [esp + 0x10], ecx, 8
xor dword [esp + 0x10], eax
shr ecx, 8
xor ecx, dword [esp + 0x18]
shrd dword [esp + 0x10], ecx, 8
shr ecx, 8
shld dword [esp + 0x18], eax, 8
mov dword [esp + 0x14], ecx
shl eax, 8
xor eax, esi
mov esi, dword [esp + 0x18]
xor esi, edx
mov dword [esp + 0x2c], eax
mov edx, eax
mov eax, dword [esp + 0x10]
shld esi, edx, 8
shl edx, 8
xor esi, edi
xor edx, ebx
mov ebx, dword [esp + 0x44]
shld esi, edx, 8
shl edx, 8
xor esi, ebp
xor edx, dword [esp + 0x40]
shld esi, edx, 8
xor esi, dword [esp + 0x24]
shl edx, 8
xor edx, dword [esp + 0x38]
shld esi, edx, 8
xor esi, dword [esp + 0x28]
shl edx, 8
xor edx, dword [esp + 0x30]
shld esi, edx, 8
xor esi, dword [esp + 0x3c]
shl edx, 8
xor edx, dword [esp + 0x34]
shld esi, edx, 8
shl edx, 8
xor eax, edx
mov edx, ecx
movzx ecx, byte [esp + ebx + 0x6c]
xor edx, esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x1c], esi
xor eax, dword [ecx*8 + 0x60fe88]
xor edx, dword [ecx*8 + 0x60fe8c]
xor dword [esp + ebx + 0xec], eax
xor dword [esp + ebx + 0xf0], edx
add ebx, 8
dec dword [esp + 0x20]
mov dword [esp + 0x44], ebx
jne 0x57dcc0
movdqu xmm0, xmmword [esp + 0xec]
mov eax, dword [esp + 0x54]
add eax, 8
mov dword [esp + 0x54], eax
movdqu xmmword [esp + 0x6c], xmm0
movdqu xmm0, xmmword [esp + 0xfc]
movdqu xmmword [esp + 0x7c], xmm0
movdqu xmm0, xmmword [esp + 0x10c]
movdqu xmmword [esp + 0x8c], xmm0
movdqu xmm0, xmmword [esp + 0x11c]
movdqu xmmword [esp + 0x9c], xmm0
cmp eax, 0x6106d8
jl 0x57da00
mov ebp, dword [esp + 0x60]
lea eax, [esp + 0xab]
xor edx, edx
lea ecx, [ebp + 0x3f]
cmp ebp, eax
ja 0x57df3c
lea eax, [esp + 0x6c]
cmp ecx, eax
jae 0x57df4b
mov ebx, dword [esp + 0x48]
cmp ebp, ebx
ja 0x57df7e
lea eax, [ebx - 0x3f]
cmp ecx, eax
jb 0x57df7e
mov edi, dword [esp + 0x50]
mov edx, ebp
mov ebx, dword [esp + 0x5c]
mov esi, 0x40
lea ebx, [ebx]
lea eax, [edx + ebx]
mov cl, byte [edi + eax]
lea edx, [edx + 1]
xor cl, byte [edx - 1]
xor cl, byte [eax]
mov byte [edx - 1], cl
dec esi
jne 0x57df60
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
jmp 0x57dfdc
mov edi, dword [esp + 0x4c]
lea esi, [esp + 0x7c]
mov ecx, ebp
sub esi, ebp
mov ebp, dword [esp + 0x5c]
mov edi, edi
movdqu xmm0, xmmword [ecx]
lea eax, [ecx + edi]
movdqu xmm1, xmmword [eax + ebx]
lea ecx, [ecx + 0x20]
pxor xmm1, xmm0
movdqu xmm0, xmmword [ecx + ebp - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ecx - 0x20], xmm1
movdqu xmm0, xmmword [ecx - 0x10]
movdqu xmm1, xmmword [edx + ebx - 0x2f]
add edx, 0x20
pxor xmm1, xmm0
movdqu xmm0, xmmword [esi + ecx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ecx - 0x10], xmm1
cmp edx, 0x40
jl 0x57df90
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x50]
add ebx, 0x40
add esi, 0x40
mov dword [esp + 0x48], ebx
dec dword [esp + 0x58]
mov dword [esp + 0x50], esi
jne 0x57d921
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.005802ce
add esp, 0x120
ret
push dword [esp + 0x130]
push ecx
push ebp
call fcn.00416780
mov ecx, dword [esp + 0x12c]
add esp, 0xc
pop ebp
xor ecx, esp
call fcn.005802ce
add esp, 0x120
ret