Function at 0x140333c70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movups xmm1, xmmword [0x14036bab0]
mov r10d, dword [0x14037e090]
xor r8d, r8d
movdqa xmm5, xmmword [0x140377f00]
xorps xmm0, xmm0
movdqa xmm3, xmmword [0x140377e60]
mov ecx, r8d
movdqa xmm4, xmmword [0x140377f20]
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [0x140377ed0]
movaps xmmword [rax - 0x28], xmm7
mov eax, dword [0x14036bac0]
movdqa xmm7, xmmword [0x140377f40]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14036bac4]
mov word [rsp + 0x74], ax
movzx eax, byte [0x14036bac6]
mov byte [rsp + 0x76], 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
movups xmm0, xmmword [0x14036baa0]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x50], xmm0
cmp r10d, 2
jl 0x140333e26
movdqa xmmword [rsp + 0x30], xmm7
lea rdx, [rsp + 0x54]
mov r9d, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm3
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, r9d
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm3
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, r9d
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140333d40
cmp ecx, 0x27
jge 0x140333e5d
movsxd rax, ecx
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r9 - 1], al
cmp ecx, 0x27
jl 0x140333e31
cmp byte [0x14036bad9], r8b
lea rax, [rsp + 0x50]
movups xmm2, xmmword [str.j_UYE]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
movzx eax, word [0x14036bad8]
mov word [rsp + 0x40], ax
mov qword [rbp - 0x70], r8
movups xmmword [rsp + 0x30], xmm2
je 0x140334070
cmp r10d, 2
jl 0x140334032
movdqa xmm1, xmm3
movd eax, xmm2
movdqa xmm2, xmmword [0x140377e70]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd ecx, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x30], xmm3
movdqa xmm3, xmmword [0x140377e80]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x34]
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rsp + 0x34], xmm2
movdqa xmm2, xmmword [0x140377e90]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x38]
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rsp + 0x38], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm1, dword [rsp + 0x3c]
andps xmm2, xmm5
packuswb xmm2, xmm2
mov r8d, 0x10
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x3c], xmm2
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x140334040
lea rax, [rsp + 0x30]
mov dword [rbp - 0x34], 5
mov qword [rbp - 0x60], rax
lea rcx, [0x14037f500]
lea rax, str.MTI4NzM0OjFpMmhuZToxMjMxMjM
mov ebx, 1
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x38], ebx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1403340b0
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14037f54c], 0x7fffffff
jne 0x1403340d2
mov ecx, 6
mov dword [0x14037f54c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r8d, dword [0x14037f550]
lea rcx, [0x1403b16e8]
lea eax, [r8 + 1]
mov dword [0x14037f550], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.14033bd80
mov qword [0x1403b16e0], rax
lea rcx, [0x14037f500]
xchg byte [0x14038109a], bl
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [0x1403b15a0]
test rcx, rcx
je 0x140334128
add rcx, 0x58
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret