Function at 0x14001ad10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
sub rsp, 0x80
lea rcx, [0x1400f5950]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001ad3d
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1400f599c], 0x7fffffff
jne 0x14001ad5f
mov ecx, 6
mov dword [0x1400f599c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x90], rbx
mov esi, 5
mov qword [rsp + 0x98], rdi
xor ebx, ebx
cmp qword [0x140127338], rbx
mov edi, dword [reloc.WS2_32.dll_accept]
mov qword [rsp + 0xa0], r14
lea r14d, [rsi + 0x1a]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
jne 0x14001af42
cmp qword [0x140127108], rbx
je 0x14001b0dd
cmp byte [0x1400d5a2d], bl
mov eax, dword [0x1400d5a28]
movsd xmm0, qword [str.pqgc]
mov dword [rbp - 0x58], eax
movzx eax, word [0x1400d5a2c]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x14001af34
mov r8d, ebx
cmp edi, 2
jl 0x14001aef1
movdqa xmm2, xmmword [0x1400e3300]
mov r8d, 8
movdqa xmm3, xmmword [0x1400e3310]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400e3420]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e3340]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.pqgc]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.11111111111111112222222222222222]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x60], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e3340]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x5c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.11111111111111112222222222222222]
xorps xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001af00
lea rcx, [rbp - 0x60]
call fcn.14001a3d0
jmp 0x14001b0dd
cmp qword [0x140127108], rbx
jne 0x14001b0dd
cmp byte [0x1400d5a2d], bl
mov eax, dword [0x1400d5a28]
movsd xmm0, qword [str.pqgc]
mov dword [rbp - 0x58], eax
movzx eax, word [0x1400d5a2c]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x14001b0d4
mov r8d, ebx
cmp edi, 2
jl 0x14001b094
movdqa xmm2, xmmword [0x1400e3300]
mov r8d, 8
movdqa xmm3, xmmword [0x1400e3310]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400e3420]
movdqa xmm0, xmm2
mov eax, dword [str.11111111111111112222222222222222]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e3340]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.pqgc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x60], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e3340]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e33c0]
movd xmm1, dword [rbp - 0x5c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x5c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001b0a0
lea rcx, [rbp - 0x60]
call fcn.14001a460
cmp qword [0x140127340], rbx
jne 0x14001b2c2
cmp qword [0x140127110], rbx
je 0x14001b48d
cmp byte [0x1400d5a01], bl
movups xmm0, xmmword [0x1400d59f0]
movzx eax, word [0x1400d5a00]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x14001b2b4
mov r8d, ebx
cmp edi, 2
jl 0x14001b26d
movdqa xmm0, xmmword [str.11111111111111112222222222222222]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400e3300]
movdqa xmm4, xmmword [0x1400e3420]
movdqa xmm7, xmmword [0x1400e3340]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e33c0]
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
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001b160
cmp r8d, 0x12
jge 0x14001b2b4
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001b280
lea rcx, [rbp - 0x50]
call fcn.14001a3d0
jmp 0x14001b48d
cmp qword [0x140127110], rbx
jne 0x14001b48d
cmp byte [0x1400d5a01], bl
movups xmm0, xmmword [0x1400d59f0]
movzx eax, word [0x1400d5a00]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x14001b484
mov r8d, ebx
cmp edi, 2
jl 0x14001b43f
movdqa xmm0, xmmword [str.11111111111111112222222222222222]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400e3300]
movdqa xmm4, xmmword [0x1400e3420]
movdqa xmm7, xmmword [0x1400e3340]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e33c0]
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
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001b332
cmp r8d, 0x12
jge 0x14001b484
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001b450
lea rcx, [rbp - 0x50]
call fcn.14001a460
cmp qword [0x140127348], rbx
jne 0x14001b66d
cmp qword [0x140127118], rbx
je 0x14001b848
cmp byte [0x1400d59d5], bl
mov eax, dword [0x1400d59d0]
movups xmm0, xmmword [0x1400d59c0]
mov dword [rbp - 0x40], eax
movzx eax, word [0x1400d59d4]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x14001b65f
cmp edi, 2
jl 0x14001b618
movdqa xmm0, xmmword [str.11111111111111112222222222222222]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400e3300]
movdqa xmm4, xmmword [0x1400e3420]
movdqa xmm7, xmmword [0x1400e3340]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
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
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e33c0]
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
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b510
cmp ebx, 0x16
jge 0x14001b65f
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001b630
lea rcx, [rbp - 0x50]
call fcn.14001a3d0
jmp 0x14001b848
cmp qword [0x140127118], rbx
jne 0x14001b848
cmp byte [0x1400d59d5], bl
mov eax, dword [0x1400d59d0]
movups xmm0, xmmword [0x1400d59c0]
mov dword [rbp - 0x40], eax
movzx eax, word [0x1400d59d4]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x14001b83f
cmp edi, 2
jl 0x14001b7f8
movdqa xmm0, xmmword [str.11111111111111112222222222222222]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400e3300]
movdqa xmm4, xmmword [0x1400e3420]
movdqa xmm7, xmmword [0x1400e3340]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
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
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e33c0]
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
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001b6f0
cmp ebx, 0x16
jge 0x14001b83f
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001b810
lea rcx, [rbp - 0x50]
call fcn.14001a460
movups xmm0, xmmword [0x1401270f0]
lea rcx, [0x1400f5950]
movups xmm1, xmmword [0x140127100]
movups xmmword [0x140127320], xmm0
movups xmm0, xmmword [0x140127110]
movups xmmword [0x140127330], xmm1
movups xmmword [0x140127340], xmm0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]