Function at 0x1400b8770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
xor r8d, r8d
mov rbx, rcx
test edx, edx
jne 0x1400b8801
mov eax, dword [0x14037d38c]
xorps xmm0, xmm0
movzx edx, word [0x14037d390]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d392]
xor byte [rbp + 0x21], 0x37
xor byte [rbp + 0x22], 0x38
xor byte [rbp + 0x23], 0x39
mov word [rbp + 0x24], dx
xor dl, 0x3a
xor byte [rbp + 0x25], 0x3b
xor al, 0x3c
mov byte [rbp + 0x20], 0x42
movups xmmword [rcx], xmm0
mov byte [rbp + 0x26], al
lea rax, [rbp + 0x20]
mov qword [rcx + 0x10], r8
mov qword [rcx + 0x18], r8
mov r8, 0xffffffffffffffff
mov byte [rbp + 0x24], dl
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400b87e0
lea rdx, [rbp + 0x20]
call fcn.14006d8c0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
cmp edx, 1
jne 0x1400b8884
mov eax, dword [0x14037d394]
xorps xmm0, xmm0
movzx ecx, word [0x14037d398]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d39a]
xor byte [rbp + 0x21], 0x37
xor byte [rbp + 0x22], 0x38
xor byte [rbp + 0x23], 0x39
mov word [rbp + 0x24], cx
xor cl, 0x3a
xor byte [rbp + 0x25], 0x3b
xor al, 0x3c
mov byte [rbp + 0x20], 0x42
movups xmmword [rbx], xmm0
mov byte [rbp + 0x26], al
lea rax, [rbp + 0x20]
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], r8
mov r8, 0xffffffffffffffff
mov byte [rbp + 0x24], cl
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400b8860
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.14006d8c0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
cmp edx, 2
jne 0x1400b8904
mov eax, dword [str.tEWW__]
xorps xmm0, xmm0
movzx ecx, word [0x14037d3a0]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d3a2]
xor byte [rbp + 0x21], 0x37
xor byte [rbp + 0x22], 0x38
xor byte [rbp + 0x23], 0x39
mov word [rbp + 0x24], cx
xor cl, 0x3a
xor byte [rbp + 0x25], 0x3b
xor al, 0x3c
mov byte [rbp + 0x20], 0x42
movups xmmword [rbx], xmm0
mov byte [rbp + 0x26], al
lea rax, [rbp + 0x20]
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], r8
mov r8, 0xffffffffffffffff
mov byte [rbp + 0x24], cl
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400b88e0
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.14006d8c0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
cmp edx, 3
jne 0x1400b895d
mov eax, dword [0x14037d3a4]
movzx ecx, word [0x14037d3a8]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d3aa]
xor byte [rbp + 0x21], 0x37
lea rdx, [rbp + 0x20]
xor byte [rbp + 0x22], 0x38
xor al, 0x3c
xor byte [rbp + 0x23], 0x39
mov word [rbp + 0x24], cx
xor cl, 0x3a
xor byte [rbp + 0x25], 0x3b
mov byte [rbp + 0x24], cl
mov rcx, rbx
mov byte [rbp + 0x20], 0x53
mov byte [rbp + 0x26], al
call fcn.1400df320
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
cmp edx, 4
jne 0x1400b897b
mov eax, dword [0x14037d3ac]
movzx ecx, word [0x14037d3b0]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d3b2]
jmp 0x1400b8920
cmp edx, 5
jne 0x1400b8999
mov eax, dword [str.eTO_I_]
movzx ecx, word [0x14037d3b8]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d3ba]
jmp 0x1400b8920
cmp edx, 6
jne 0x1400b89da
mov eax, dword [0x14037d3bc]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d3c0]
xor byte [rbp + 0x21], 0x37
lea rdx, [rbp + 0x20]
xor byte [rbp + 0x22], 0x38
xor al, 0x3a
xor byte [rbp + 0x23], 0x39
mov byte [rbp + 0x24], al
mov byte [rbp + 0x20], 0x47
call fcn.1400df320
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
cmp edx, 7
jne 0x1400b89f1
mov eax, dword [0x14037d3c4]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d3c8]
jmp 0x1400b89ae
cmp edx, 8
jne 0x1400b8a08
mov eax, dword [str.qXT_:]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d3d0]
jmp 0x1400b89ae
cmp edx, 9
jne 0x1400b8a5d
movsd xmm0, qword [0x14037d3d8]
lea rdx, [rbp - 0x1c]
movzx eax, byte [0x14037d3e0]
movsd qword [rbp - 0x1c], xmm0
xor al, 0x3e
xor byte [rbp - 0x1b], 0x37
xor byte [rbp - 0x1a], 0x38
xor byte [rbp - 0x19], 0x39
xor byte [rbp - 0x18], 0x3a
xor byte [rbp - 0x17], 0x3b
xor byte [rbp - 0x16], 0x3c
xor byte [rbp - 0x15], 0x3d
mov byte [rbp - 0x14], al
mov byte [rbp - 0x1c], 0x50
call fcn.1400df320
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
cmp edx, 0xa
jne 0x1400b8ab2
movsd xmm0, qword [0x14037d3e8]
lea rdx, [rbp - 0x1c]
movzx eax, byte [0x14037d3f0]
movsd qword [rbp - 0x1c], xmm0
xor al, 0x3e
xor byte [rbp - 0x1b], 0x37
xor byte [rbp - 0x1a], 0x38
xor byte [rbp - 0x19], 0x39
xor byte [rbp - 0x18], 0x3a
xor byte [rbp - 0x17], 0x3b
xor byte [rbp - 0x16], 0x3c
xor byte [rbp - 0x15], 0x3d
mov byte [rbp - 0x14], al
mov byte [rbp - 0x1c], 0x50
call fcn.1400df320
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
cmp edx, 0xb
jne 0x1400b8b07
movsd xmm0, qword [str.f_YMSUIP_]
lea rdx, [rbp - 0x1c]
movzx eax, byte [0x14037d400]
movsd qword [rbp - 0x1c], xmm0
xor al, 0x3e
xor byte [rbp - 0x1b], 0x37
xor byte [rbp - 0x1a], 0x38
xor byte [rbp - 0x19], 0x39
xor byte [rbp - 0x18], 0x3a
xor byte [rbp - 0x17], 0x3b
xor byte [rbp - 0x16], 0x3c
xor byte [rbp - 0x15], 0x3d
mov byte [rbp - 0x14], al
mov byte [rbp - 0x1c], 0x50
call fcn.1400df320
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
movaps xmmword [rsp + 0x30], xmm6
cmp edx, 0xc
jne 0x1400b8c66
cmp byte [0x14037d40f], r8b
mov rax, qword [str.rYTUUXrYTUUXrYTUUXs_QM__]
mov qword [rbp + 0x20], rax
je 0x1400b8c5a
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400b8c28
movdqa xmm2, xmmword [0x140379a20]
lea rdx, [rbp + 0x20]
movdqa xmm4, xmmword [0x140380750]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov rcx, rbx
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::HKRC_NGO]
psubd xmm2, xmm0
movd xmm0, dword [rbp + 0x20]
andps xmm2, xmmword [0x14037bad0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14037bae0]
xorps xmm2, xmm0
movd dword [rbp + 0x20], xmm2
movdqa xmm2, xmmword [0x14037ba80]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::HKRC_NGO]
psubd xmm2, xmm0
movd xmm0, dword [rbp + 0x24]
andps xmm2, xmmword [0x14037bad0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14037bae0]
xorps xmm2, xmm0
movd dword [rbp + 0x24], xmm2
jmp 0x1400b8f15
lea r9, [rbp + 0x20]
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, 0x36
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x1400b8c30
lea rdx, [rbp + 0x20]
mov rcx, rbx
jmp 0x1400b8f15
cmp edx, 0xd
jne 0x1400b8dc6
cmp byte [0x14037d417], r8b
mov rax, qword [0x14037d410]
mov qword [rbp + 0x20], rax
je 0x1400b8c5a
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400b8d84
movdqa xmm3, xmmword [0x140379a20]
lea rdx, [rbp + 0x20]
movdqa xmm2, xmmword [0x14037ba80]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [0x140380750]
movdqa xmm0, xmm3
mov eax, dword [0x14037bae0]
mov rcx, rbx
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 0x20]
pmulld xmm0, xmmword [str.::::HKRC_NGO]
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmmword [0x14037bad0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm5
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movd dword [rbp + 0x20], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 0x24]
pmulld xmm0, xmmword [str.::::HKRC_NGO]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x14037bad0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x24], xmm2
jmp 0x1400b8f15
lea r9, [rbp + 0x20]
nop dword [rax + 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, 0x36
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x1400b8d90
lea rdx, [rbp + 0x20]
mov rcx, rbx
jmp 0x1400b8f15
cmp edx, 0xe
jne 0x1400b8e36
cmp byte [0x14037d41f], r8b
mov rax, qword [0x14037d418]
mov qword [rbp + 0x20], rax
je 0x1400b8c5a
cmp dword [reloc.WS2_32.dll_accept], 2
jge 0x1400b8c90
lea r9, [rbp + 0x20]
nop dword [rax]
nop dword [rax + 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, 0x36
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x1400b8e00
lea rdx, [rbp + 0x20]
mov rcx, rbx
jmp 0x1400b8f15
cmp edx, 0xf
jne 0x1400b8e71
mov eax, dword [0x14037d420]
lea rdx, [rbp + 0x20]
mov dword [rbp + 0x20], eax
movzx eax, word [0x14037d424]
xor byte [rbp + 0x21], 0x37
xor byte [rbp + 0x22], 0x38
xor byte [rbp + 0x23], 0x39
mov word [rbp + 0x24], ax
xor al, 0x3a
xor byte [rbp + 0x25], 0x3b
mov byte [rbp + 0x24], al
mov byte [rbp + 0x20], 0x45
jmp 0x1400b8f15
cmp edx, 0x10
jne 0x1400b8e90
movsd xmm0, qword [str.u_YTJRSS_]
movzx eax, byte [0x14037d430]
movsd qword [rbp - 0x1c], xmm0
mov byte [rbp - 0x1c], 0x43
jmp 0x1400b8ef0
cmp edx, 0x11
jne 0x1400b8ed8
movzx ecx, word [0x14037d438]
lea rdx, [rbp + 0x20]
mov eax, dword [str.cYJ_W_]
mov dword [rbp + 0x20], eax
movzx eax, byte [0x14037d43a]
xor byte [rbp + 0x21], 0x37
xor byte [rbp + 0x22], 0x38
xor byte [rbp + 0x23], 0x39
mov word [rbp + 0x24], cx
xor cl, 0x3a
xor byte [rbp + 0x25], 0x3b
xor al, 0x3c
mov byte [rbp + 0x24], cl
mov byte [rbp + 0x26], al
mov rcx, rbx
mov byte [rbp + 0x20], 0x55
jmp 0x1400b8f15
movsd xmm0, qword [str.cYJXTPYY_]
movzx eax, byte [0x14037d448]
movsd qword [rbp - 0x1c], xmm0
mov byte [rbp - 0x1c], 0x55
xor byte [rbp - 0x1b], 0x37
lea rdx, [rbp - 0x1c]
xor byte [rbp - 0x1a], 0x38
xor byte [rbp - 0x19], 0x39
xor byte [rbp - 0x18], 0x3a
xor byte [rbp - 0x17], 0x3b
xor byte [rbp - 0x16], 0x3c
xor byte [rbp - 0x15], 0x3d
xor al, 0x3e
mov byte [rbp - 0x14], al
call fcn.1400df320
movaps xmm6, xmmword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret