Function at 0x140001400
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rbp + 0x17], rax
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_139]
mov rax, qword [str.bj_lntn98]
mov qword [rbp - 0x39], rax
mov esi, 1
lea r14d, [rsi + 0x1e]
mov ebx, dword [0x140028050]
cmp byte [0x140021a87], 0
je 0x14000159f
cmp ebx, 2
jl 0x140001563
movdqa xmm4, xmmword [0x140023300]
movd xmm6, esi
movd xmm5, r14d
movdqa xmm2, xmmword [0x140023280]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400232c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400232f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140023320]
movd xmm0, dword [rbp - 0x39]
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm3, xmmword [0x140023290]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400232c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400232f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140023320]
movd xmm0, dword [rbp - 0x35]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
jmp 0x14000159f
lea r9, [rbp - 0x39]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140001570
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400015c1
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.140001f10
lea rcx, [rbp - 9]
call fcn.1400164c0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [0x140021a88]
movups xmmword [rbp - 9], xmm0
movzx eax, word [0x140021a98]
mov word [rbp + 7], ax
cmp byte [0x140021a99], 0
je 0x14000178b
xor ecx, ecx
cmp ebx, 2
jl 0x140001750
movdqa xmm5, xmmword [0x140023280]
movdqa xmm4, xmmword [0x140023300]
movd xmm6, esi
movdqa xmm7, xmmword [0x1400232c0]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140023320]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 5]
mov r8d, dword [rbp - 0x39]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x1400232f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400232f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140001650
cmp ecx, 0x12
jge 0x14000178b
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x140001760
lea rdx, [rbp - 9]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b60
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
lea rdx, [rbp - 9]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001d30
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.140001930
mov rcx, rax
call fcn.140016780
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rax, qword [rbp - 9]
mov byte [rax], 0
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_539]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140001831
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000182c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000182c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e96c
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14001e910
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret