Function at 0x100ac260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10112200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x30], edi
test al, 3
je 0x100ac2ae
push 0xd0
push 0x100f2ed0
push str.assertion_failed:__ord3_0
call fcn.1009ed50
mov eax, dword [ebp - 0x18]
add esp, 0xc
shl eax, 2
call fcn.100bc5b0
mov eax, dword [ebp - 0x18]
mov esi, esp
mov dword [ebp - 0x2c], esi
lea eax, [eax + edi]
shl eax, 2
call fcn.100bc5b0
mov ecx, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x28], esp
cmp ecx, 4
jl 0x100ac31b
mov edx, dword [ebp + 0xc]
lea eax, [ecx - 4]
add edx, 0xfffffff8
shr eax, 2
add esi, 8
inc eax
lea edx, [edx + ecx*4]
mov ecx, eax
lea edi, [eax*4]
mov eax, dword [edx + 4]
lea esi, [esi + 0x10]
mov dword [esi - 0x18], eax
lea edx, [edx - 0x10]
mov eax, dword [edx + 0x10]
mov dword [esi - 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [esi - 0x10], eax
mov eax, dword [edx + 8]
mov dword [esi - 0xc], eax
sub ecx, 1
jne 0x100ac2f2
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
cmp edi, ecx
jge 0x100ac33d
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, edi
lea edx, [edx + eax*4]
add edx, 0xfffffffc
nop dword [eax]
mov eax, dword [edx]
lea edx, [edx - 4]
mov dword [esi + edi*4], eax
inc edi
cmp edi, ecx
jl 0x100ac330
movss xmm1, dword [0x101089c0]
xor edx, edx
cmp ecx, 4
jl 0x100ac3af
mov eax, dword [ebp - 0x3c]
lea edi, [ecx - 4]
mov esi, dword [ebp - 0x28]
shr edi, 2
add esi, 8
lea eax, [eax + ecx*4]
add eax, 0xfffffff8
inc edi
lea edx, [edi*4]
nop dword [eax]
movss xmm0, dword [eax + 4]
lea esi, [esi + 0x10]
lea eax, [eax - 0x10]
xorps xmm0, xmm1
movss dword [esi - 0x18], xmm0
movss xmm0, dword [eax + 0x10]
xorps xmm0, xmm1
movss dword [esi - 0x14], xmm0
movss xmm0, dword [eax + 0xc]
xorps xmm0, xmm1
movss dword [esi - 0x10], xmm0
movss xmm0, dword [eax + 8]
xorps xmm0, xmm1
movss dword [esi - 0xc], xmm0
sub edi, 1
jne 0x100ac370
cmp edx, ecx
jge 0x100ac3d9
mov esi, dword [ebp - 0x3c]
mov eax, ecx
sub eax, edx
sub esi, 4
lea eax, [esi + eax*4]
mov esi, dword [ebp - 0x28]
movss xmm0, dword [eax]
lea eax, [eax - 4]
xorps xmm0, xmm1
movss dword [esi + edx*4], xmm0
inc edx
cmp edx, ecx
jl 0x100ac3c3
jmp 0x100ac3dc
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
lea edi, [ecx + eax]
cmp edx, edi
jge 0x100ac3f7
sub edi, edx
xor eax, eax
mov ecx, edi
lea edi, [esi + edx*4]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
xor esi, esi
lea edi, [eax - 3]
mov dword [ebp - 0x38], esi
test edi, edi
jle 0x100ac549
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
and dword [ebp - 0x1c], 7
add edx, 0xc
mov dword [ebp - 0x40], eax
lea eax, [eax + ecx*4]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
sub eax, edx
mov dword [ebp - 0x44], eax
lea esi, [edx + 8]
lea eax, [edi - 1]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
shr eax, 2
inc eax
mov dword [ebp - 0x24], eax
lea esi, [eax*4]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x4c]
movups xmm0, xmmword [edx - 8]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov eax, dword [ebp - 0x1c]
push edi
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [eax*4 + 0x100ecdc0]
call eax
mov eax, dword [ebp + 0xc]
add esp, 0x10
movss xmm1, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
movaps xmm0, xmm1
movss xmm2, dword [0x101089c0]
xorps xmm0, xmm2
mov edx, dword [ebp - 0x20]
movss dword [esi - 4], xmm0
movss dword [ecx - 0xc], xmm1
movss xmm1, dword [eax]
mulss xmm1, dword [esi - 4]
mov edi, dword [ebp - 0x44]
addss xmm1, dword [ebp - 0x10]
movaps xmm0, xmm1
xorps xmm0, xmm2
movss dword [esi], xmm0
movss dword [ecx - 8], xmm1
movss xmm1, dword [eax]
mulss xmm1, dword [esi]
movss xmm0, dword [esi - 4]
mulss xmm0, dword [eax + 4]
addss xmm1, dword [ebp - 0xc]
addss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmm2
movss dword [esi + 4], xmm0
movss dword [edi + edx], xmm1
add edx, 0x10
movss xmm1, dword [eax]
mulss xmm1, dword [esi + 4]
mov edi, dword [ebp - 0x2c]
movss xmm0, dword [esi]
mulss xmm0, dword [eax + 4]
mov dword [ebp - 0x20], edx
addss xmm1, dword [ebp - 8]
addss xmm1, xmm0
movss xmm0, dword [eax + 8]
mulss xmm0, dword [esi - 4]
mov eax, dword [ebp - 0x40]
add eax, 0x10
mov dword [ebp - 0x40], eax
addss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmm2
movss dword [esi + 8], xmm0
add esi, 0x10
movss dword [ecx], xmm1
add ecx, 0x10
sub dword [ebp - 0x24], 1
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x18]
jne 0x100ac454
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
cmp esi, eax
jge 0x100ac653
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
lea edx, [eax + esi*4]
lea eax, [ecx + esi]
mov dword [ebp - 0x24], edx
lea eax, [edi + eax*4]
lea edi, [edi + esi*4]
mov dword [ebp - 0x1c], eax
add edi, 8
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x34]
sub dword [ebp + 8], edi
mov edi, dword [ebp - 0x2c]
nop dword [eax + eax]
mov eax, dword [ebp + 8]
movss xmm1, dword [eax + edx]
xor edx, edx
mov eax, dword [ebp - 0x1c]
cmp ecx, 4
jl 0x100ac5fa
mov esi, dword [ebp - 0x18]
lea eax, [edi + 8]
mov ecx, dword [ebp - 0x20]
lea esi, [esi - 4]
shr esi, 2
inc esi
lea edx, [esi*4]
nop dword [eax]
movss xmm0, dword [ecx - 8]
mulss xmm0, dword [eax - 8]
subss xmm1, xmm0
movss xmm0, dword [ecx - 4]
mulss xmm0, dword [eax - 4]
subss xmm1, xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [ecx]
subss xmm1, xmm0
movss xmm0, dword [ecx + 4]
mulss xmm0, dword [eax + 4]
add ecx, 0x10
add eax, 0x10
subss xmm1, xmm0
sub esi, 1
jne 0x100ac5b0
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
cmp edx, ecx
jge 0x100ac628
mov edi, dword [ebp - 0x28]
lea eax, [edx + esi]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x2c]
nop word [eax + eax]
movss xmm0, dword [edi + edx*4]
inc edx
mulss xmm0, dword [eax]
add eax, 4
subss xmm1, xmm0
cmp edx, ecx
jl 0x100ac610
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
inc esi
add dword [ebp - 0x20], 4
movss dword [eax], xmm1
add eax, 4
mov dword [ebp - 0x38], esi
movss dword [edx], xmm1
add edx, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edx
cmp esi, dword [ebp - 0x30]
jl 0x100ac580
mov eax, dword [ebp - 0x30]
xor edi, edi
cmp ecx, 4
jl 0x100ac6a6
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
add esi, 8
lea edx, [edx + eax*4]
lea eax, [ecx - 4]
add edx, 0xfffffff8
shr eax, 2
inc eax
mov dword [ebp - 0x44], eax
mov ecx, eax
lea edi, [eax*4]
nop dword [eax]
mov eax, dword [edx + 4]
lea esi, [esi + 0x10]
mov dword [esi - 0x18], eax
lea edx, [edx - 0x10]
mov eax, dword [edx + 0x10]
mov dword [esi - 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [esi - 0x10], eax
mov eax, dword [edx + 8]
mov dword [esi - 0xc], eax
sub ecx, 1
jne 0x100ac680
mov ecx, dword [ebp - 0x18]
cmp edi, ecx
jge 0x100ac6cd
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
sub eax, edi
mov esi, dword [ebp - 0x3c]
lea edx, [edx + eax*4]
add edx, 0xfffffffc
nop dword [eax + eax]
mov eax, dword [edx]
lea edx, [edx - 4]
mov dword [esi + edi*4], eax
inc edi
cmp edi, ecx
jl 0x100ac6c0
lea esp, [ebp - 0x54]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bb287
mov esp, ebp
pop ebp
ret