Function at 0x1400b9a90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rcx
add rcx, 0x38
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400b9acc
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [r14 + 0x84], 0x7fffffff
jne 0x1400b9af0
mov ecx, 6
mov dword [r14 + 0x84], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rsi
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
call fcn.14001a650
movups xmm0, xmmword [str.f_EAINeR_]
xor ebx, ebx
movups xmm1, xmmword [0x1401357f0]
mov r8d, ebx
mov eax, dword [0x140135830]
mov esi, dword [0x140152090]
movdqa xmm6, xmmword [0x140138fb0]
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x140135800]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [0x140135820]
movups xmmword [rbp - 0x39], xmm1
movups xmm1, xmmword [0x140135810]
mov dword [rbp + 7], eax
movzx eax, word [0x140135834]
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp - 0x19], xmm1
mov word [rbp + 0xb], ax
cmp esi, 2
jl 0x1400b9c99
movdqa xmm0, xmmword [0x140139010]
lea rcx, [rbp - 0x45]
movdqa xmm4, xmmword [0x140138f00]
movdqa xmm3, xmmword [0x140138ff0]
movdqa xmm5, xmmword [str.7777]
movdqa xmmword [rbp - 0x69], xmm0
mov edx, dword [rbp - 0x69]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x50
jl 0x1400b9bb0
cmp r8d, 0x56
jge 0x1400b9ce0
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop word [rax + 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, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x56
jl 0x1400b9cb0
lea rcx, [rbp - 0x49]
call fcn.14004bcf0
cmp byte [0x140138651], bl
movups xmm7, xmmword [str.qLYU_eR_]
movzx eax, word [0x140138650]
movsd xmm0, qword [0x140138648]
movups xmmword [rbp - 0x69], xmm7
mov word [rbp - 0x51], ax
movsd qword [rbp - 0x59], xmm0
je 0x1400b9fbc
cmp esi, 2
jl 0x1400b9f85
movdqa xmm4, xmmword [0x140138ff0]
movdqa xmm3, xmmword [0x140138f00]
movdqa xmm2, xmmword [0x140138f30]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
mov ecx, dword [0x140139010]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm6
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 [rbp - 0x69], xmm3
movdqa xmm3, xmmword [0x140138f60]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x65]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm6
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 [rbp - 0x65], xmm2
movdqa xmm2, xmmword [0x140138f70]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x61]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm6
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 [rbp - 0x61], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
movdqa xmm3, xmmword [0x140138f80]
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x5d]
mov ebx, 0x18
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x5d], xmm2
movdqa xmm2, xmmword [0x140138f90]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x59]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rbp - 0x59], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x55]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x55], xmm2
mov eax, ebx
lea r8, [rbp - 0x69]
add r8, rax
nop
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x1a
jl 0x1400b9f90
lea rcx, [rbp - 0x69]
call fcn.14004bcf0
call fcn.14001a6b0
mov rcx, qword [0x140255230]
movss xmm6, dword [0x140138d5c]
movaps xmm7, xmmword [rsp + 0xb0]
mov rsi, qword [rsp + 0x100]
mov rax, qword [rcx + 0x4140]
mov rbx, qword [rsp + 0xf8]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x1400ba023
movaps xmm1, xmm6
mov qword [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.14001ec30
mov rcx, qword [0x140255230]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x1400ba05c
movaps xmm1, xmm6
mov qword [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.14001ec30
mov rcx, qword [0x140255230]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x1400ba095
movaps xmm1, xmm6
mov qword [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.14001ec30
mov rcx, qword [0x140255230]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x1400ba0ce
movaps xmm1, xmm6
mov qword [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.14001ec30
mov rcx, qword [0x140255230]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x1400ba107
movaps xmm1, xmm6
mov qword [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.14001ec30
cmp byte [0x140255049], 0
je 0x1400ba120
mov rcx, qword [0x1402509f8]
mov rcx, qword [rcx + 0x68]
call fcn.14004bb50
mov rcx, qword [0x140255230]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x1400ba159
movaps xmm1, xmm6
mov qword [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.14001ec30
lea rcx, [r14 + 0x88]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.14008e130
lea rcx, [r14 + 0x38]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movaps xmm6, xmmword [rsp + 0xc0]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14010fe20
add rsp, 0xd0
pop r14
pop rdi
pop rbp
ret