Function at 0x1400b2170
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp + 0x27], rax
movups xmm1, xmmword [0x140170560]
mov r12d, dword [reloc.WS2_32.dll_accept]
xor ebx, ebx
movups xmm0, xmmword [0x140170550]
movups xmmword [rbp - 9], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
movups xmmword [rbp - 0x19], xmm0
test al, al
je 0x1400b2351
cmp r12d, 2
jl 0x1400b2311
movdqa xmm0, xmmword [0x1401761e0]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140176070]
mov edx, ebx
movdqa xmm4, xmmword [0x140176320]
movdqa xmm6, xmmword [0x1401760c0]
movdqa xmmword [rbp - 0x29], xmm0
mov r8d, dword [rbp - 0x29]
nop
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x20
jl 0x1400b2210
jmp 0x1400b2351
lea r9, [rbp - 0x19]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x20
jl 0x1400b2320
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.1400e85f0
mov eax, dword [str.qb_W6]
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], eax
mov rdi, 0xffffffffffffffff
movzx eax, word [0x14017289c]
xor byte [rbp - 0x28], 0x31
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
mov word [rbp - 0x25], ax
movzx eax, byte [0x14017289e]
xor byte [rbp - 0x25], 0x34
xor byte [rbp - 0x24], 0x35
xor al, 0x36
mov byte [rbp - 0x29], 0x41
mov byte [rbp - 0x23], al
mov rax, rdi
inc rax
cmp byte [rcx + rax], bl
jne 0x1400b23a4
mov r14, qword [rbp + 0x1f]
lea rcx, [rbp + 7]
mov rsi, qword [rbp + 7]
lea r9, [rbp - 0x29]
mov r15, qword [rbp + 0x17]
cmp r14, 0xf
mov rdx, r15
mov qword [rsp + 0x20], rax
cmova rcx, rsi
xor r8d, r8d
call fcn.1400606c0
cmp rax, rdi
jne 0x1400b2788
movzx eax, byte [0x140172880]
lea rcx, [rbp - 0x29]
movsd xmm0, qword [str.wXURVLBR8]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x31
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
xor byte [rbp - 0x25], 0x34
xor byte [rbp - 0x24], 0x35
xor byte [rbp - 0x23], 0x36
xor byte [rbp - 0x22], 0x37
xor al, 0x38
mov byte [rbp - 0x29], 0x47
mov byte [rbp - 0x21], al
mov rax, rdi
inc rax
cmp byte [rcx + rax], bl
jne 0x1400b2421
cmp r14, 0xf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x29]
xor r8d, r8d
call fcn.1400606c0
cmp rax, rdi
jne 0x1400b2788
mov eax, dword [0x140171ffc]
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], eax
movzx eax, word [0x140172000]
xor byte [rbp - 0x28], 0x31
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
mov word [rbp - 0x25], ax
xor al, 0x34
xor byte [rbp - 0x24], 0x35
mov byte [rbp - 0x25], al
mov rax, rdi
mov byte [rbp - 0x29], Ordinal_79
inc rax
cmp byte [rcx + rax], bl
jne 0x1400b2486
cmp r14, 0xf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x29]
xor r8d, r8d
call fcn.1400606c0
cmp rax, rdi
jne 0x1400b2788
mov eax, dword [0x140173a9c]
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], eax
movzx eax, byte [reloc.WS2_32.dll_gethostbyname]
xor byte [rbp - 0x28], 0x31
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
xor al, 0x34
mov byte [rbp - 0x29], 0x41
mov byte [rbp - 0x25], al
mov rax, rdi
inc rax
cmp byte [rcx + rax], bl
jne 0x1400b24e3
cmp r14, 0xf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x29]
xor r8d, r8d
call fcn.1400606c0
cmp rax, rdi
jne 0x1400b2788
cmp byte [0x1401733f5], bl
mov eax, dword [0x1401733f0]
movups xmm0, xmmword [str.qbg__P]
mov dword [rbp - 9], eax
movzx eax, word [0x1401733f4]
movups xmmword [rbp - 0x19], xmm0
mov word [rbp - 5], ax
je 0x1400b26bd
cmp r12d, 2
jl 0x1400b2682
movdqa xmm0, xmmword [0x1401761e0]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176320]
movdqa xmm6, xmmword [0x1401760c0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400b2580
cmp ebx, 0x16
jge 0x1400b26bd
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x1400b2690
lea rcx, [rbp - 0x19]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x1400b26c4
cmp r14, 0xf
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x19]
xor r8d, r8d
call fcn.1400606c0
cmp rax, rdi
jne 0x1400b2788
movzx ecx, word [0x140173e30]
movzx eax, byte [0x140173e32]
movsd xmm0, qword [str.XQA_]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x31
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
xor byte [rbp - 0x25], 0x34
xor byte [rbp - 0x24], 0x35
xor byte [rbp - 0x23], 0x36
xor byte [rbp - 0x22], 0x37
mov word [rbp - 0x21], cx
xor cl, 0x38
xor byte [rbp - 0x20], 0x39
xor al, 0x3a
mov byte [rbp - 0x29], Ordinal_79
mov byte [rbp - 0x1f], al
lea rax, [rbp - 0x29]
mov byte [rbp - 0x21], cl
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400b2750
cmp r14, 0xf
mov qword [rsp + 0x20], rdi
lea rcx, [rbp + 7]
mov rdx, r15
cmova rcx, rsi
lea r9, [rbp - 0x29]
xor r8d, r8d
call fcn.1400606c0
cmp rax, 0xffffffffffffffff
jne 0x1400b2788
mov byte [0x14164d3ed], 1
jmp 0x1400b278f
mov byte [0x14164d3ee], 1
lea rcx, [rbp + 7]
call fcn.14003d760
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140146930
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret