Function at 0x140001740
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov r10d, dword [0x140048018]
xorps xmm0, xmm0
mov qword [rax + 8], rbx
xor ecx, ecx
movaps xmmword [rax - 0x18], xmm6
mov r8d, ecx
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov eax, dword [str.LeQP_]
lea ebx, [rcx + 0x1f]
mov dword [rsp + 0x38], eax
lea r11d, [rcx + 4]
movzx eax, word [0x140035b64]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x140035b66]
mov byte [rsp + 0x3e], al
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [str.SWQ]
movsd qword [rsp + 0x30], xmm0
cmp r10d, 2
jl 0x1400018d0
movdqa xmm2, xmmword [0x140041920]
mov r8d, 8
movdqa xmm4, xmmword [0x140041a40]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140041930]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140041950]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.SWQ]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400419b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111333333333333333366666666666666669999999999999999]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x30], 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 [0x140041950]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x34]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400419b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111333333333333333366666666666666669999999999999999]
pxor xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x1400018e0
cmp byte [0x140035b75], cl
lea rax, [rsp + 0x30]
movsd xmm0, qword [0x140035b68]
mov qword [rbp - 0x78], rax
mov eax, dword [0x140035b70]
mov dword [rsp + 0x48], eax
movzx eax, word [0x140035b74]
mov word [rsp + 0x4c], ax
movsd qword [rsp + 0x40], xmm0
je 0x140001aa1
mov r8d, ecx
cmp r10d, 2
jl 0x140001a62
movdqa xmm2, xmmword [0x140041920]
mov r8d, 8
movdqa xmm4, xmmword [0x140041a40]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140041930]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111333333333333333366666666666666669999999999999999]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140041950]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400419b0]
movd xmm1, dword [0x140035b68]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rsp + 0x40], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140041950]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400419b0]
movd xmm1, dword [rsp + 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x140001a70
cmp byte [0x140035b55], cl
lea rax, [rsp + 0x40]
movsd xmm0, qword [str.bW_QM]
mov qword [rbp - 0x80], rax
mov eax, dword [0x140035b50]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140035b54]
mov word [rsp + 0x5c], ax
mov qword [rbp - 0x70], rcx
movsd qword [rsp + 0x50], xmm0
je 0x140001c32
mov r8d, ecx
cmp r10d, 2
jl 0x140001bf6
movdqa xmm2, xmmword [0x140041920]
mov r8d, 8
movdqa xmm4, xmmword [0x140041a40]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140041930]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111333333333333333366666666666666669999999999999999]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140041950]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400419b0]
movd xmm1, dword [str.bW_QM]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rsp + 0x50], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140041950]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400419b0]
movd xmm1, dword [rsp + 0x54]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x54], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x140001c01
cmp byte [0x140035b45], cl
lea rax, [rsp + 0x50]
movups xmm0, xmmword [str.YFGDF_f]
mov qword [rbp - 0x60], rax
mov eax, dword [0x140035b40]
movsd xmm1, qword [0x140035b38]
mov dword [rsp + 0x78], eax
movzx eax, word [0x140035b44]
mov word [rsp + 0x7c], ax
mov qword [rbp - 0x38], rcx
movups xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
je 0x140001e0d
cmp r10d, 2
jl 0x140001dc8
movdqa xmm0, xmmword [str.1111111111111111333333333333333366666666666666669999999999999999]
lea rdx, [rsp + 0x64]
movdqa xmm5, xmmword [0x140041920]
movdqa xmm4, xmmword [0x140041a40]
movdqa xmm7, xmmword [0x140041950]
movdqa xmmword [rbp - 0x10], xmm0
mov r8d, dword [rbp - 0x10]
movd xmm6, r11d
movd xmm8, ebx
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
mov eax, ecx
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
pand xmm2, xmmword [0x1400419b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 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, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400419b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140001cc0
cmp eax, 0x1e
jge 0x140001e0d
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x1e
jl 0x140001de0
lea rax, [rsp + 0x60]
lea rcx, [0x14004c9f0]
mov qword [rbp - 0x28], rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x120]
mov rbx, qword [rsp + 0x140]
test eax, eax
je 0x140001e51
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov r8d, dword [0x140049a78]
lea rcx, [0x14007d088]
lea eax, [r8 + 1]
mov dword [0x140049a78], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.140009330
mov qword [0x14007d080], rax
lea rcx, [0x14004c9f0]
mov eax, 1
xchg byte [0x14007cc0a], al
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [0x14007cf40]
test rcx, rcx
je 0x140001eac
add rcx, 0x58
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
add rsp, 0x130
pop rbp
ret