Function at 0x14001b570
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
lea rcx, [0x1400f8960]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14001b599
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1400f89ac], 0x7fffffff
jne 0x14001b5bb
mov ecx, 6
mov dword [0x1400f89ac], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp qword [0x14012a668], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rdi
mov edi, dword [reloc.WS2_32.dll_accept]
lea esi, [rbx + 4]
mov qword [rsp + 0xa8], r14
lea r14d, [rbx + 0x1f]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
jne 0x14001b79f
cmp qword [0x14012a438], rbx
je 0x14001b93a
cmp byte [0x1400d7a35], bl
mov eax, dword [0x1400d7a30]
movsd xmm0, qword [0x1400d7a28]
mov dword [rbp - 0x58], eax
movzx eax, word [0x1400d7a34]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x14001b791
mov r8d, ebx
cmp edi, 2
jl 0x14001b74b
movdqa xmm2, xmmword [0x1400e5640]
mov r8d, 8
movdqa xmm4, xmmword [0x1400e5780]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400e5650]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e5660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1400d7a28]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e5710]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e5750]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e5660]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x5c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e5710]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e5750]
xorps xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001b760
lea rcx, [rbp - 0x60]
call fcn.14001ac50
jmp 0x14001b93a
cmp qword [0x14012a438], rbx
jne 0x14001b93a
cmp byte [0x1400d7a35], bl
mov eax, dword [0x1400d7a30]
movsd xmm0, qword [0x1400d7a28]
mov dword [rbp - 0x58], eax
movzx eax, word [0x1400d7a34]
mov word [rbp - 0x54], ax
movsd qword [rbp - 0x60], xmm0
je 0x14001b931
mov r8d, ebx
cmp edi, 2
jl 0x14001b8e9
movdqa xmm2, xmmword [0x1400e5640]
mov r8d, 8
movdqa xmm4, xmmword [0x1400e5780]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400e5650]
movdqa xmm0, xmm2
mov eax, dword [0x1400e5750]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e5660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400e5710]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1400d7a28]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x60], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e5660]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e5710]
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 dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14001b900
lea rcx, [rbp - 0x60]
call fcn.14001ace0
cmp qword [0x14012a670], rbx
jne 0x14001bb0f
cmp qword [0x14012a440], rbx
je 0x14001bcca
cmp byte [0x1400d7a89], bl
movups xmm0, xmmword [str.uvbnpnbcnnz]
movzx eax, word [0x1400d7a88]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x14001bb01
mov r8d, ebx
cmp edi, 2
jl 0x14001bac5
movdqa xmm0, xmmword [0x1400e5750]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400e5640]
movdqa xmm4, xmmword [0x1400e5780]
movdqa xmm7, xmmword [0x1400e5660]
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
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 [0x1400e5710]
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, 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 [0x1400e5710]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001b9c0
cmp r8d, 0x12
jge 0x14001bb01
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001bad0
lea rcx, [rbp - 0x50]
call fcn.14001ac50
jmp 0x14001bcca
cmp qword [0x14012a440], rbx
jne 0x14001bcca
cmp byte [0x1400d7a89], bl
movups xmm0, xmmword [str.uvbnpnbcnnz]
movzx eax, word [0x1400d7a88]
mov word [rbp - 0x40], ax
movups xmmword [rbp - 0x50], xmm0
je 0x14001bcc1
mov r8d, ebx
cmp edi, 2
jl 0x14001bc85
movdqa xmm0, xmmword [0x1400e5750]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400e5640]
movdqa xmm4, xmmword [0x1400e5780]
movdqa xmm7, xmmword [0x1400e5660]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
nop
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
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 [0x1400e5710]
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, 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 [0x1400e5710]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001bb80
cmp r8d, 0x12
jge 0x14001bcc1
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x14001bc90
lea rcx, [rbp - 0x50]
call fcn.14001ace0
cmp qword [0x14012a678], rbx
jne 0x14001be9b
cmp qword [0x14012a448], rbx
je 0x14001c066
cmp byte [0x1400d7a55], bl
mov eax, dword [0x1400d7a50]
movups xmm0, xmmword [str.uvbnpnbcwqv]
mov dword [rbp - 0x40], eax
movzx eax, word [0x1400d7a54]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x14001be8d
cmp edi, 2
jl 0x14001be50
movdqa xmm0, xmmword [0x1400e5750]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400e5640]
movdqa xmm4, xmmword [0x1400e5780]
movdqa xmm7, xmmword [0x1400e5660]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm6, esi
movd xmm8, r14d
nop dword [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, 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 [0x1400e5710]
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, 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 [0x1400e5710]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001bd50
cmp ebx, 0x16
jge 0x14001be8d
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001be60
lea rcx, [rbp - 0x50]
call fcn.14001ac50
jmp 0x14001c066
cmp qword [0x14012a448], rbx
jne 0x14001c066
cmp byte [0x1400d7a55], bl
mov eax, dword [0x1400d7a50]
movups xmm0, xmmword [str.uvbnpnbcwqv]
mov dword [rbp - 0x40], eax
movzx eax, word [0x1400d7a54]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], ax
je 0x14001c05d
cmp edi, 2
jl 0x14001c020
movdqa xmm0, xmmword [0x1400e5750]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1400e5640]
movdqa xmm4, xmmword [0x1400e5780]
movdqa xmm7, xmmword [0x1400e5660]
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
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 [0x1400e5710]
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, 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 [0x1400e5710]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14001bf20
cmp ebx, 0x16
jge 0x14001c05d
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x14001c030
lea rcx, [rbp - 0x50]
call fcn.14001ace0
movups xmm0, xmmword [0x14012a420]
lea rcx, [0x1400f8960]
movups xmm1, xmmword [0x14012a430]
movups xmmword [0x14012a650], xmm0
movups xmm0, xmmword [0x14012a440]
movups xmmword [0x14012a660], xmm1
movups xmmword [0x14012a670], xmm0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]