Function at 0x6b4170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x93d814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x18]
push edi
lea eax, [esi*4]
call fcn.005c3f50
mov eax, dword [ebp + 0x14]
add eax, esi
mov dword [ebp - 8], esp
mov dword [ebp - 0x10], eax
shl eax, 2
call fcn.005c3f50
xor edi, edi
mov dword [ebp - 0x18], esp
cmp esi, 4
jl 0x6b41f6
mov ecx, dword [ebp - 8]
lea eax, [esi - 4]
mov edx, dword [ebp + 0xc]
add ecx, 8
add edx, 0xfffffff8
shr eax, 2
inc eax
lea edx, [edx + esi*4]
mov esi, eax
lea edi, [eax*4]
nop dword [eax]
mov eax, dword [edx + 4]
lea ecx, [ecx + 0x10]
mov dword [ecx - 0x18], eax
lea edx, [edx - 0x10]
mov eax, dword [edx + 0x10]
mov dword [ecx - 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [ecx - 0x10], eax
mov eax, dword [edx + 8]
mov dword [ecx - 0xc], eax
sub esi, 1
jne 0x6b41d0
mov esi, dword [ebp + 0x18]
cmp edi, esi
jge 0x6b421d
mov ecx, dword [ebp + 0xc]
mov edx, esi
sub edx, edi
sub ecx, 4
lea edx, [ecx + edx*4]
mov ecx, dword [ebp - 8]
nop word [eax + eax]
mov eax, dword [edx]
lea edx, [edx - 4]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, esi
jl 0x6b4210
movss xmm6, dword [0x736fd0]
xor edx, edx
cmp esi, 4
jl 0x6b428f
mov ecx, dword [ebp + 0x1c]
lea edi, [esi - 4]
mov eax, esp
shr edi, 2
add eax, 8
lea ecx, [ecx + esi*4]
add ecx, 0xfffffff8
inc edi
lea edx, [edi*4]
nop dword [eax + eax]
movss xmm0, dword [ecx + 4]
lea eax, [eax + 0x10]
lea ecx, [ecx - 0x10]
xorps xmm0, xmm6
movss dword [eax - 0x18], xmm0
movss xmm0, dword [ecx + 0x10]
xorps xmm0, xmm6
movss dword [eax - 0x14], xmm0
movss xmm0, dword [ecx + 0xc]
xorps xmm0, xmm6
movss dword [eax - 0x10], xmm0
movss xmm0, dword [ecx + 8]
xorps xmm0, xmm6
movss dword [eax - 0xc], xmm0
sub edi, 1
jne 0x6b4250
mov edi, esp
cmp edx, esi
jge 0x6b42b6
mov ecx, dword [ebp + 0x1c]
mov eax, esi
sub eax, edx
sub ecx, 4
lea eax, [ecx + eax*4]
movss xmm0, dword [eax]
lea eax, [eax - 4]
xorps xmm0, xmm6
movss dword [edi + edx*4], xmm0
inc edx
cmp edx, esi
jl 0x6b42a2
mov eax, dword [ebp - 0x10]
cmp edx, eax
jge 0x6b42c8
sub eax, edx
lea edi, [edi + edx*4]
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edi, [edx - 3]
test edi, edi
jle 0x6b43ff
mov ecx, dword [ebp + 0x10]
mov eax, esp
mov dword [ebp - 0x20], eax
add ecx, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
lea eax, [eax + esi*4]
add eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
lea edx, [ecx + 8]
sub eax, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
lea eax, [edi - 1]
mov edi, dword [ebp - 8]
shr eax, 2
inc eax
mov dword [ebp - 0x14], eax
shl eax, 2
mov dword [ebp - 0x1c], eax
movups xmm0, xmmword [edx - 8]
push esi
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x20]
movups xmmword [ebp - 0x38], xmm0
push edi
call fcn.006afc50
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [ebp + 0xc]
movss xmm1, dword [ebp - 0x38]
mov edx, dword [ebp - 0xc]
movaps xmm0, xmm1
xorps xmm0, xmm6
mov edi, dword [ebp - 0x24]
movss dword [eax - 4], xmm0
add dword [ebp - 0x20], 0x10
movss dword [edx - 0xc], xmm1
movss xmm1, dword [ecx]
mulss xmm1, dword [eax - 4]
addss xmm1, dword [ebp - 0x34]
movaps xmm0, xmm1
xorps xmm0, xmm6
movss dword [eax], xmm0
movss dword [edx - 8], xmm1
movss xmm1, dword [ecx]
mulss xmm1, dword [eax]
mov edx, dword [ebp - 0x28]
movss xmm0, dword [eax - 4]
mulss xmm0, dword [ecx + 4]
addss xmm1, dword [ebp - 0x30]
addss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmm6
movss dword [eax + 4], xmm0
movss dword [edi + edx], xmm1
add edx, 0x10
movss xmm1, dword [ecx]
mulss xmm1, dword [eax + 4]
mov edi, dword [ebp - 8]
movss xmm0, dword [eax]
mulss xmm0, dword [ecx + 4]
mov dword [ebp - 0x28], edx
addss xmm1, dword [ebp - 0x2c]
addss xmm1, xmm0
movss xmm0, dword [eax - 4]
mulss xmm0, dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
addss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmm6
movss dword [eax + 8], xmm0
add eax, 0x10
movss dword [ecx], xmm1
add ecx, 0x10
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jne 0x6b4316
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x14]
cmp eax, edx
jge 0x6b44f0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
lea ecx, [edx + eax*4]
add eax, esi
mov dword [ebp - 0x14], ecx
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
sub eax, edx
sub dword [ebp - 0xc], edx
mov dword [ebp + 8], eax
nop dword [eax]
movss xmm1, dword [eax + ecx]
xor edx, edx
cmp esi, 4
jl 0x6b4494
lea eax, [edi + 8]
lea edi, [esi - 4]
shr edi, 2
inc edi
lea edx, [edi*4]
nop dword [eax]
movss xmm0, dword [eax - 8]
mulss xmm0, dword [ecx]
subss xmm1, xmm0
movss xmm0, dword [ecx + 4]
mulss xmm0, dword [eax - 4]
subss xmm1, xmm0
movss xmm0, dword [ecx + 8]
mulss xmm0, dword [eax]
subss xmm1, xmm0
movss xmm0, dword [ecx + 0xc]
mulss xmm0, dword [eax + 4]
add ecx, 0x10
add eax, 0x10
subss xmm1, xmm0
sub edi, 1
jne 0x6b4450
mov ecx, dword [ebp - 0x14]
cmp edx, esi
jge 0x6b44bd
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
add eax, edx
lea eax, [edi + eax*4]
mov edi, dword [ebp - 8]
movss xmm0, dword [edi + edx*4]
inc edx
mulss xmm0, dword [eax]
add eax, 4
subss xmm1, xmm0
cmp edx, esi
jl 0x6b44a6
jmp 0x6b44c0
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
movss dword [edx], xmm1
add edx, 4
movss dword [eax + ecx], xmm1
add ecx, 4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x14]
cmp eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
jl 0x6b4430
xor edi, edi
cmp esi, 4
jl 0x6b4546
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
add eax, 0xfffffff8
add ecx, 8
lea edx, [eax + edx*4]
lea eax, [esi - 4]
shr eax, 2
inc eax
mov dword [ebp - 0x24], eax
mov esi, eax
lea edi, [eax*4]
nop dword [eax]
mov eax, dword [edx + 4]
lea ecx, [ecx + 0x10]
mov dword [ecx - 0x18], eax
lea edx, [edx - 0x10]
mov eax, dword [edx + 0x10]
mov dword [ecx - 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [ecx - 0x10], eax
mov eax, dword [edx + 8]
mov dword [ecx - 0xc], eax
sub esi, 1
jne 0x6b4520
mov esi, dword [ebp + 0x18]
cmp edi, esi
jge 0x6b456d
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
sub eax, edi
mov edx, dword [ebp + 0x1c]
lea ecx, [ecx + eax*4]
add ecx, 0xfffffffc
nop dword [eax + eax]
mov eax, dword [ecx]
lea ecx, [ecx - 4]
mov dword [edx + edi*4], eax
inc edi
cmp edi, esi
jl 0x6b4560
lea esp, [ebp - 0x40]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret