Function at 0x100d50d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1010a080]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
push esi
mov eax, dword [ecx + 8]
test eax, eax
push edi
cmovle eax, edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
lea edi, [ecx + 0xc]
mov dword [ebp - 0x24], 1
movsx eax, word [edi]
lea ecx, [edi + 2]
imul eax, dword [ebp + edx*4 - 0x24]
lea edi, [edi + 4]
mov esi, edx
mov dword [ebp + edx*4 - 0x20], eax
inc edx
cmp word [ecx], 1
jne 0x100d5105
mov eax, dword [ebp - 0x28]
movsx edx, word [eax + edx*4 + 0xa]
test esi, esi
js 0x100d533f
movss xmm6, dword [0x10104910]
movss xmm5, dword [0x100fe06c]
lea ecx, [esi*4]
test esi, esi
je 0x100d5152
movsx edi, word [ecx + eax + 0xa]
jmp 0x100d5157
mov edi, 1
movsx eax, word [eax + esi*4 + 0xc]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x100d5168
jmp dword [eax*4 + 0x100d5350]
mov ecx, dword [ebp + ecx - 0x24]
mov dword [ebp - 0x34], ecx
cmp edx, 4
je 0x100d51a2
push 0x4c
push str.C:devopus_1.4celtkiss_fft.c
push str.assertion_failed:_m4
call fcn.100c57d0
movss xmm5, dword [0x100fe06c]
add esp, 0xc
movss xmm6, dword [0x10104910]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jle case.default.0x100d5168
mov eax, dword [ebp - 0x2c]
add eax, 0x28
movss xmm2, dword [eax - 0x28]
movss xmm3, dword [eax - 8]
movaps xmm0, xmm2
movss xmm4, dword [eax - 4]
subss xmm0, xmm3
addss xmm2, xmm3
movss dword [eax - 8], xmm0
movss xmm1, dword [eax - 0x24]
movaps xmm0, xmm1
addss xmm1, xmm4
subss xmm0, xmm4
movss dword [eax - 4], xmm0
movss xmm0, dword [eax - 0x20]
movss dword [eax - 0x28], xmm2
movss dword [eax - 0x24], xmm1
movss xmm4, dword [eax + 4]
movaps xmm3, xmm4
addss xmm3, dword [eax]
subss xmm4, dword [eax]
mulss xmm3, xmm5
mulss xmm4, xmm5
subss xmm0, xmm3
movss dword [eax], xmm0
movss xmm0, dword [eax - 0x1c]
subss xmm0, xmm4
movss dword [eax + 4], xmm0
addss xmm4, dword [eax - 0x1c]
addss xmm3, dword [eax - 0x20]
movss xmm2, dword [eax - 0x18]
movaps xmm0, xmm2
movss dword [eax - 0x1c], xmm4
movss dword [eax - 0x20], xmm3
movss xmm3, dword [eax + 0xc]
movss xmm4, dword [eax + 8]
subss xmm0, xmm3
xorps xmm4, xmm6
addss xmm2, xmm3
movss dword [eax + 8], xmm0
movss xmm0, dword [eax - 0x14]
subss xmm0, xmm4
movss dword [eax + 0xc], xmm0
addss xmm4, dword [eax - 0x14]
movss xmm0, dword [eax - 0x10]
movss dword [eax - 0x18], xmm2
movss dword [eax - 0x14], xmm4
movss xmm4, dword [eax + 0x14]
movaps xmm3, xmm4
subss xmm3, dword [eax + 0x10]
addss xmm4, dword [eax + 0x10]
mulss xmm3, xmm5
xorps xmm4, xmm6
mulss xmm4, xmm5
subss xmm0, xmm3
movss dword [eax + 0x10], xmm0
movss xmm0, dword [eax - 0xc]
subss xmm0, xmm4
movss dword [eax + 0x14], xmm0
addss xmm3, dword [eax - 0x10]
addss xmm4, dword [eax - 0xc]
movss dword [eax - 0x10], xmm3
movss dword [eax - 0xc], xmm4
add eax, 0x40
sub ecx, 1
jne 0x100d51b0
jmp case.default.0x100d5168
mov eax, dword [ebp + ecx - 0x24]
mov ecx, dword [ebp - 0x28]
push edi
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x30]
shl eax, cl
push eax
push dword [ebp - 0x2c]
call fcn.100d4a20
jmp 0x100d531e
mov eax, dword [ebp + ecx - 0x24]
mov ecx, dword [ebp - 0x28]
push edi
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x30]
shl eax, cl
push eax
push dword [ebp - 0x2c]
call fcn.100d4890
jmp 0x100d531e
mov eax, dword [ebp + ecx - 0x24]
mov ecx, dword [ebp - 0x28]
push edi
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x30]
shl eax, cl
push eax
push dword [ebp - 0x2c]
call fcn.100d4ce0
add esp, 0x18
sub esi, 1
movss xmm5, dword [0x100fe06c]
movss xmm6, dword [0x10104910]
mov edx, edi
mov eax, dword [ebp - 0x28]
jns 0x100d5140
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100daa0d
mov esp, ebp
pop ebp
ret