Function at 0x14000c940
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1401c3080]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
movups xmm0, xmmword [0x14019b0b0]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x14019b0c0]
movups xmmword [rsp + 0x30], xmm1
mov eax, dword [0x14019b0d0]
mov dword [rsp + 0x40], eax
movzx eax, word [0x14019b0d4]
mov word [rsp + 0x44], ax
mov ecx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000cac4
movdqa xmm4, xmmword [0x1401a5c10]
movdqa xmm3, xmmword [0x1401a61d0]
movdqa xmm5, xmmword [0x1401a5ca0]
movdqa xmm0, xmmword [0x1401a5db0]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x24]
movdqa xmm6, xmmword [0x1401a5d20]
mov r8d, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x14000c9e0
cmp ecx, 0x26
jge 0x14000cafc
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x26
jl 0x14000cad0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], bl
jne 0x14000cb12
mov qword [rsp + 0x78], rax
call fcn.140155ca0
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140002e50
nop
mov qword [rsp + 0x70], rbx
lea rax, [0x1401c3118]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140003a70
movzx ebx, al
cmp dword [rsp + 0x70], 0
jne 0x14000cbd6
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14000cbb0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cbab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cbab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140154c94
test bl, bl
setne al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401548d0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
lea rcx, str.exists
call fcn.140003a10
int3