Function at 0x101d05b3
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov eax, dword [0x102e5cc0]
xor eax, esp
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], esi
movss xmm2, dword [esi + 4]
mov dword [esp + 0x10], edx
movss dword [esp + 0x14], xmm2
cmp edi, edx
jne 0x101d04e4
push 0x244
push 0x102ca550
push str.assertion_failed:_fin___fout_nIn_place_FFT_not_supported
call fcn.101ace10
movss xmm2, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp dword [esi], ecx
jle 0x101d0521
nop word [eax + eax]
mov eax, dword [esi + 0x2c]
movss xmm0, dword [edi + ecx*8]
movss xmm1, dword [edi + ecx*8 + 4]
mulss xmm0, xmm2
movsx eax, word [eax + ecx*2]
mulss xmm1, xmm2
movss dword [edx + eax*8], xmm0
mov eax, dword [esi + 0x2c]
movsx eax, word [eax + ecx*2]
inc ecx
movss dword [edx + eax*8 + 4], xmm1
cmp ecx, dword [esi]
jl 0x101d04f0
mov eax, dword [esi + 8]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x1c], 1
cmovle eax, ecx
xor edx, edx
mov dword [esp + 0xc], eax
lea eax, [esi + 0xc]
mov esi, eax
nop
movsx eax, word [esi]
mov ecx, esi
imul eax, dword [esp + edx*4 + 0x1c]
mov edi, edx
add esi, 4
mov dword [esp + edx*4 + 0x20], eax
inc edx
cmp word [ecx + 2], 1
jne 0x101d0540
mov esi, dword [esp + 0x18]
movsx eax, word [esi + edx*4 + 0xa]
mov dword [esp + 0x18], eax
test edi, edi
js 0x101d0798
movss xmm6, dword [0x101f36d0]
movss xmm5, dword [0x10205cec]
lea ecx, [edi*4]
test edi, edi
je 0x101d0592
movsx edx, word [ecx + esi + 0xa]
jmp 0x101d0597
mov edx, 1
movsx eax, word [esi + edi*4 + 0xc]
add eax, 0xfffffffe
mov dword [esp + 0x14], edx
cmp eax, 3
ja case.default.0x101d05ac
jmp dword [eax*4 + 0x101d07ac]
cmp dword [esp + 0x18], 4
mov ecx, dword [esp + ecx + 0x1c]
mov dword [esp + 8], ecx
je 0x101d05ea
push 0x4c
push 0x102ca550
push str.assertion_failed:_m4
call fcn.101ace10
movss xmm5, dword [0x10205cec]
add esp, 0xc
movss xmm6, dword [0x101f36d0]
mov ecx, dword [esp + 8]
test ecx, ecx
jle case.default.0x101d05ac
mov eax, dword [esp + 0x10]
add eax, 0x28
nop dword [eax]
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 0x101d0600
jmp case.default.0x101d05ac
mov eax, dword [esp + ecx + 0x1c]
mov ecx, dword [esp + 0xc]
push edx
push eax
push dword [esp + 0x20]
shl eax, cl
push esi
push eax
push dword [esp + 0x24]
call fcn.101cfd00
jmp 0x101d0774
mov eax, dword [esp + ecx + 0x1c]
mov ecx, dword [esp + 0xc]
push edx
push eax
push dword [esp + 0x20]
shl eax, cl
push esi
push eax
push dword [esp + 0x24]
call fcn.101cfb70
jmp 0x101d0774
mov eax, dword [esp + ecx + 0x1c]
mov ecx, dword [esp + 0xc]
push edx
push eax
push dword [esp + 0x20]
shl eax, cl
push esi
push eax
push dword [esp + 0x24]
call fcn.101cfff0
add esp, 0x18
sub edi, 1
mov eax, dword [esp + 0x14]
movss xmm5, dword [0x10205cec]
movss xmm6, dword [0x101f36d0]
mov dword [esp + 0x18], eax
jns 0x101d0580
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.1010d06f
add esp, 0x38
ret