Function at 0x100d2d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1010a080]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x34], esi
push edi
test al, 3
je 0x100d2dde
push 0xd0
push str.C:devopus_1.4celtcelt_lpc.c
push str.assertion_failed:__ord3_0
call fcn.100c57d0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
shl eax, 2
call fcn.100db980
mov eax, dword [ebp - 0x1c]
mov edi, esp
add eax, esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], eax
shl eax, 2
call fcn.100db980
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x28], esp
lea eax, [ecx - 4]
mov dword [ebp - 0x40], eax
cmp ecx, 4
jl 0x100d2e59
mov esi, dword [ebp + 0xc]
lea edx, [edi + 8]
shr eax, 2
add esi, 0xfffffff8
inc eax
mov dword [ebp - 0x20], eax
mov edi, eax
shl eax, 2
lea esi, [esi + ecx*4]
mov dword [ebp - 0x48], eax
nop dword [eax]
mov eax, dword [esi + 4]
lea edx, [edx + 0x10]
mov dword [edx - 0x18], eax
lea esi, [esi - 0x10]
mov eax, dword [esi + 0x10]
mov dword [edx - 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edx - 0x10], eax
mov eax, dword [esi + 8]
mov dword [edx - 0xc], eax
sub edi, 1
jne 0x100d2e30
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x48]
mov esi, 0xfffffffe
mov eax, ecx
add esi, eax
cmp edx, ecx
jge 0x100d2e87
mov esi, dword [ebp + 0xc]
sub eax, edx
lea esi, [esi + eax*4]
add esi, 0xfffffffc
mov eax, dword [esi]
lea esi, [esi - 4]
mov dword [edi + edx*4], eax
inc edx
cmp edx, ecx
jl 0x100d2e71
lea eax, [ecx - 4]
lea esi, [ecx - 2]
mov dword [ebp - 0x40], eax
movss xmm1, dword [0x10104910]
xor edx, edx
cmp ecx, 4
jl 0x100d2ef0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
add eax, 8
lea esi, [edx + esi*4]
lea edx, [ecx - 4]
shr edx, 2
inc edx
mov dword [ebp - 0x18], edx
shl edx, 2
nop
sub dword [ebp - 0x18], 1
lea eax, [eax + 0x10]
movss xmm0, dword [esi + 4]
lea esi, [esi - 0x10]
xorps xmm0, xmm1
movss dword [eax - 0x18], xmm0
movss xmm0, dword [esi + 0x10]
xorps xmm0, xmm1
movss dword [eax - 0x14], xmm0
movss xmm0, dword [esi + 0xc]
xorps xmm0, xmm1
movss dword [eax - 0x10], xmm0
movss xmm0, dword [esi + 8]
xorps xmm0, xmm1
movss dword [eax - 0xc], xmm0
jne 0x100d2eb0
cmp edx, ecx
jge 0x100d2f1a
mov esi, dword [ebp - 0x44]
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 0x100d2f04
jmp 0x100d2f1d
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
cmp edx, eax
jge 0x100d2f35
sub eax, edx
lea edi, [esi + edx*4]
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x3c], esi
lea edx, [eax - 3]
mov dword [ebp - 0x20], edx
test edx, edx
jle 0x100d308a
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
and dword [ebp - 0x24], 7
add edx, 0xc
mov dword [ebp - 0x38], 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 - 0x2c]
sub eax, edx
mov dword [ebp - 0x50], eax
lea esi, [edx + 8]
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x18], esi
mov edx, esi
shr eax, 2
inc eax
mov dword [ebp - 0x20], eax
lea esi, [eax*4]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], 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 - 0x24]
push edi
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [eax*4 + 0x100f9c1c]
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 [0x10104910]
xorps xmm0, xmm2
mov edx, dword [ebp - 0x18]
movss dword [esi - 4], xmm0
movss dword [ecx - 0xc], xmm1
movss xmm1, dword [eax]
mulss xmm1, dword [esi - 4]
mov edi, dword [ebp - 0x50]
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 - 0x30]
movss xmm0, dword [esi]
mulss xmm0, dword [eax + 4]
mov dword [ebp - 0x18], edx
addss xmm1, dword [ebp - 8]
addss xmm1, xmm0
movss xmm0, dword [esi - 4]
mulss xmm0, dword [eax + 8]
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x38], 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 - 0x20], 1
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x1c]
jne 0x100d2f95
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp esi, eax
jge 0x100d3193
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
lea edx, [eax + esi*4]
lea eax, [ecx + esi]
mov dword [ebp - 0x20], edx
lea eax, [edi + eax*4]
lea edi, [edi + esi*4]
mov dword [ebp - 0x24], eax
add edi, 8
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x2c]
sub dword [ebp + 8], edi
mov edi, dword [ebp - 0x30]
nop dword [eax]
mov eax, dword [ebp + 8]
movss xmm1, dword [eax + edx]
xor edx, edx
mov eax, dword [ebp - 0x24]
cmp ecx, 4
jl 0x100d313a
mov esi, dword [ebp - 0x40]
lea eax, [edi + 8]
mov ecx, dword [ebp - 0x18]
shr esi, 2
inc esi
lea edx, [esi*4]
nop word [eax + 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 [ecx]
mulss xmm0, dword [eax]
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 0x100d30f0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
cmp edx, ecx
jge 0x100d3168
mov edi, dword [ebp - 0x28]
lea eax, [edx + esi]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x30]
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 0x100d3150
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
inc esi
add dword [ebp - 0x18], 4
movss dword [eax], xmm1
add eax, 4
mov dword [ebp - 0x3c], esi
movss dword [edx], xmm1
add edx, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp esi, dword [ebp - 0x34]
jl 0x100d30c0
mov eax, dword [ebp - 0x34]
xor edi, edi
cmp ecx, 4
jl 0x100d31dd
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x2c]
add edx, 8
add esi, 0xfffffff8
shr ecx, 2
inc ecx
lea esi, [esi + eax*4]
lea edi, [ecx*4]
mov eax, dword [esi + 4]
lea edx, [edx + 0x10]
mov dword [edx - 0x18], eax
lea esi, [esi - 0x10]
mov eax, dword [esi + 0x10]
mov dword [edx - 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edx - 0x10], eax
mov eax, dword [esi + 8]
mov dword [edx - 0xc], eax
sub ecx, 1
jne 0x100d31b7
mov ecx, dword [ebp - 0x1c]
cmp edi, ecx
jge 0x100d31ff
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
sub eax, edi
mov esi, dword [ebp - 0x44]
lea edx, [edx + eax*4]
add edx, 0xfffffffc
mov eax, dword [edx]
lea edx, [edx - 4]
mov dword [esi + edi*4], eax
inc edi
cmp edi, ecx
jl 0x100d31f2
lea esp, [ebp - 0x58]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100daa0d
mov esp, ebp
pop ebp
ret