Function at 0x14009ba20
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x120
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rdi, rdx
mov qword [r11 - 0x48], rdx
cmp byte [rdx + 1], 0
je 0x14009bc52
test r8, r8
je 0x14009ba6e
mov byte [r8], 1
add rdx, 0x48
call fcn.1400b31c0
test rax, rax
je 0x14009baa2
movzx ebx, byte [rdi]
lea rcx, [rdi + 0x48]
call fcn.140010730
lea rcx, [rdi + 0x28]
call fcn.140010730
lea rcx, [rdi + 8]
call fcn.140010730
movzx eax, bl
jmp 0x14009bc78
lea rdx, [rsp + 0x50]
call fcn.14009bcf0
mov r9, rax
cmp byte [rax + 0x1c], 0
je 0x14009bcac
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14009bc1c
movdqa xmm5, xmmword [0x1401c4b30]
movdqa xmm4, xmmword [0x1401c4ec0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1401c4bf0]
mov eax, Ordinal_35
movd xmm8, eax
movdqa xmm0, xmmword [0x1401c4dc0]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, r9
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x14009bb10
cmp ecx, 0x1d
jge 0x14009bcac
movsxd r8, ecx
add r8, r9
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1d
jge 0x14009bcac
jmp 0x14009bc22
test r8, r8
je 0x14009bc5b
mov byte [r8], 0
lea rcx, [rdx + 0x48]
call fcn.140010730
lea rcx, [rdi + 0x28]
call fcn.140010730
lea rcx, [rdi + 8]
call fcn.140010730
xor al, al
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14015bde0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.140010690
nop
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [0x1401e5760]
call fcn.1400ace30
lea rcx, [rsp + 0x70]
call fcn.14009a410
nop
lea rcx, [rsp + 0x30]
call fcn.140010650
call fcn.1400cddf0
int3