Function at 0x140009840
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
mov rax, qword [0x1400d51c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
xor r11d, r11d
cmp byte [reloc.WS2_32.dll_gethostname], r11b
mov rbx, rcx
mov rax, qword [str.AFWVSDK9FRG_TU]
movdqa xmm5, xmmword [0x1400c0830]
movdqa xmm2, xmmword [0x1400c07c0]
movdqa xmm3, xmmword [0x1400c07b0]
movdqa xmm7, xmmword [0x1400c0870]
movdqa xmm6, xmmword [0x1400c0820]
movdqa xmm4, xmmword [0x1400c0890]
mov r10d, dword [reloc.WS2_32.dll_accept]
mov qword [rsp + 0x28], rax
je 0x1400099ba
mov r8d, r11d
cmp r10d, 2
jl 0x140009987
movdqa xmm1, xmm3
movdqa xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x28]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm7
xorps xmm1, xmm0
movdqa xmm0, xmm2
movd dword [rsp + 0x28], xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x2c]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm7
xorps xmm1, xmm0
movd dword [rsp + 0x2c], xmm1
jmp 0x1400099ba
lea r9, [rsp + 0x28]
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140009990
cmp byte [rsp + 0x2f], r11b
je 0x140009ac6
mov ecx, r11d
cmp r10d, 2
jl 0x140009a96
movdqa xmm1, xmm3
movd eax, xmm7
punpckldq xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x28]
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rsp + 0x28], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x2c]
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x2c], xmm2
jmp 0x140009ac6
lea r8, [rsp + 0x28]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
mul ecx
shr edx, 5
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x140009aa0
xorps xmm0, xmm0
lea rax, [rsp + 0x28]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r11
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r11
inc r8
cmp byte [rax + r8], r11b
jne 0x140009ae0
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400173a0
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a7070
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop rbx
ret