Function at 0x14008b540
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140664c40]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
mov qword [rbp - 0x30], rcx
xor edi, edi
mov qword [rbp - 0x30], rdi
add rdx, 0xab0
lea r9d, [rdi + 8]
lea r8, [rbp - 0x30]
lea rcx, [0x140667078]
call fcn.140086a60
mov rbx, qword [rbp - 0x30]
mov dword [rbp - 0x38], edi
lea rdx, [rbx + 0x10]
lea r9d, [rdi + 4]
lea r8, [rbp - 0x38]
lea rcx, [0x140667078]
call fcn.140086a60
movsxd r15, dword [rbp - 0x38]
mov r14, r15
test r15d, r15d
jne 0x14008b74d
mov rax, qword [0x1402564d0]
mov qword [rbp - 0x38], rax
cmp byte [0x1402564d7], dil
je 0x14008b710
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14008b6cf
movdqa xmm4, xmmword [0x140256530]
movdqa xmm2, xmmword [0x140255760]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140256500]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140256510]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [rbp - 0x38]
xorps xmm2, xmm0
movd dword [rbp - 0x38], xmm2
movdqa xmm3, xmmword [0x1402564f0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140256500]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140256510]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [rbp - 0x34]
xorps xmm2, xmm0
movd dword [rbp - 0x34], xmm2
jmp 0x14008b710
lea r9, [rbp - 0x38]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x14008b6e0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
lea rax, [rbp - 0x38]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x14008b730
mov r8, rbx
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.14008a810
jmp 0x14008b87a
mov qword [rbp - 0x38], rdi
lea rdx, [rbx + 8]
mov r9d, 8
lea r8, [rbp - 0x38]
lea rcx, [0x140667078]
call fcn.140086a60
mov eax, 2
mul r14
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.140237a38
mov r14, rax
lea r9d, [r15 + r15]
mov r8, rax
mov rdx, qword [rbp - 0x38]
lea rcx, [0x140667078]
call fcn.140086a60
mov rdx, r14
lea ecx, [r15 - 1]
mov r8d, edi
movzx ecx, cl
test r15d, r15d
cmovne r8d, ecx
and r8d, 3
lea eax, [r15 - 1]
mov ecx, edi
test r15d, r15d
cmovne ecx, eax
cmp edi, ecx
jge 0x14008b7df
add r8d, 3
inc edi
movzx eax, r8w
and ax, 7
add word [rdx], ax
add rdx, 2
jmp 0x14008b7c4
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
nop
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x14008b7f0
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.14008a910
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x28]
cmova rdx, qword [rbp - 0x28]
lea r9, [rbp - 0x40]
mov rcx, rsi
call fcn.14008a6e0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14008b87a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b875
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b875
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402370b8
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140237160
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret