Function at 0x1400165d0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
cmp byte [0x14009cda1], 0
movups xmm3, xmmword [str.zAgB_KCrR_QM__6]
movzx eax, word [0x14009cda0]
movsd xmm0, qword [0x14009cd98]
movups xmmword [rbp - 0x31], xmm3
mov word [rbp - 0x19], ax
movsd qword [rbp - 0x21], xmm0
je 0x1400168ef
xor ecx, ecx
cmp dword [0x1400ac318], 2
jl 0x1400168b2
movdqa xmm5, xmmword [0x14009e430]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm4, xmmword [0x14009e3f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x14009e390]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [str.3333]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x14009e410]
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rbp - 0x31], xmm2
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
pmuldq xmm1, xmm5
movd xmm0, dword [rbp - 0x2d]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rbp - 0x2d], xmm2
movdqa xmm2, xmmword [0x14009e3b0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x29]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
pmuldq xmm1, xmm5
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x29], xmm3
shufps xmm1, xmm0, 0xdd
movdqa xmm3, xmmword [0x14009e3c0]
paddd xmm1, xmm2
psrad xmm1, 5
mov ecx, 0x18
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x25]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
pmuldq xmm1, xmm5
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rbp - 0x25], xmm2
movdqa xmm2, xmmword [0x14009e3d0]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x21]
andps xmm3, xmm4
packuswb xmm3, xmm3
pmuldq xmm1, xmm5
packuswb xmm3, xmm3
paddb xmm3, xmm7
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x21], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movaps xmm6, xmmword [r11 - 0x18]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x1d]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [r11 - 0x28]
xorps xmm2, xmm0
movd dword [rbp - 0x1d], xmm2
mov eax, ecx
lea r8, [rbp - 0x31]
add r8, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x1400168c0
cmp word [0x14009d322], 0
movups xmm0, xmmword [0x14009d310]
mov eax, dword [0x14009d320]
mov dword [rbp - 0x39], eax
movups xmmword [rbp - 0x49], xmm0
je 0x140016943
xor word [rbp - 0x47], 0x35
mov eax, 0x6e
xor word [rbp - 0x45], 0x36
xor word [rbp - 0x43], 0x37
xor word [rbp - 0x41], 0x38
xor word [rbp - 0x3f], 0x39
xor word [rbp - 0x3d], 0x3a
xor word [rbp - 0x3b], 0x3b
xor word [rbp - 0x39], 0x3c
xor word [rbp - 0x37], 0x3d
mov word [rbp - 0x49], ax
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140016993
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, gethostbyname
lea r8, [rbp - 0x11]
mov rcx, rax
xor edx, edx
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
js 0x140016993
mov rax, qword [rbp - 9]
cmp byte [rax + 2], 0
setne al
jmp 0x140016995
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140062690
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rbp
ret