Function at 0x140001cb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx ebx, r9b
mov r15d, r8d
mov rdi, rcx
mov qword [rbp - 9], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], 1
mov qword [rbp + 0x1f], 0xf
mov word [rbp + 7], 0x20
test edx, edx
je 0x140001eea
sub edx, 1
je 0x140001ed8
sub edx, 1
je 0x140001ec6
sub edx, 1
je 0x140001eb4
cmp edx, 1
je 0x140001d47
mov eax, dword [0x14000fbf8]
mov dword [rbp - 1], eax
movzx eax, word [0x14000fbfc]
jmp 0x140001efa
mov rax, qword [0x14000fc00]
mov qword [rbp - 1], rax
cmp byte [0x14000fc07], 0
je 0x140001eae
cmp dword [0x140012090], 2
jl 0x140001e6d
movdqa xmm4, xmmword [0x14000ff00]
movdqa xmm2, xmmword [0x14000feb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000fed0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14000fee0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rbp - 1]
xorps xmm2, xmm0
movd dword [rbp - 1], xmm2
movdqa xmm3, xmmword [0x14000fec0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000fed0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14000fee0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rbp + 3]
xorps xmm2, xmm0
movd dword [rbp + 3], xmm2
lea rdx, [rbp - 1]
jmp 0x140001f1b
lea r8, [rbp - 1]
mov ecx, r12d
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x140001e80
lea rdx, [rbp - 1]
jmp 0x140001f1b
mov eax, dword [0x14000fdd4]
mov dword [rbp - 1], eax
movzx eax, word [0x14000fdd8]
jmp 0x140001efa
mov eax, dword [0x14000fccc]
mov dword [rbp - 1], eax
movzx eax, word [0x14000fcd0]
jmp 0x140001efa
mov eax, dword [0x14000fc8c]
mov dword [rbp - 1], eax
movzx eax, word [0x14000fc90]
jmp 0x140001efa
mov eax, dword [0x14000fbf8]
mov dword [rbp - 1], eax
movzx eax, word [0x14000fbfc]
mov word [rbp + 3], ax
xor al, 0x3b
xor byte [rbp], 0x38
xor byte [rbp + 1], 0x39
xor byte [rbp + 2], 0x3a
lea rdx, [rbp - 1]
xor byte [rbp + 4], 0x3c
mov byte [rbp + 3], al
mov byte [rbp - 1], 0x5b
lea rcx, [rbp + 7]
call fcn.140003650
mov r8, rdi
lea rdx, [0x14000fbcc]
lea rcx, [rbp - 0x39]
call fcn.1400041f0
nop
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140003690
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140001f83
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005124
cmp bl, 1
jne 0x140001f98
lea rdx, [0x14000fbd0]
lea rcx, [rbp + 7]
call fcn.140003650
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r12
mov rsi, qword [rbp + 0x17]
lea r14, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova r14, qword [rbp + 7]
movabs rbx, 0x7fffffffffffffff
cmp rsi, rbx
ja 0x1400021ed
mov qword [rbp - 0x21], 0xf
cmp rsi, 0xf
ja 0x140001feb
mov qword [rbp - 0x29], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x39], xmm0
jmp 0x14000207f
mov rax, rsi
or rax, 0xf
cmp rax, rbx
jbe 0x140002023
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400050e0
mov rcx, rax
test rax, rax
je 0x14000204e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002064
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002055
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400021f3
jmp 0x140002005
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002061
call fcn.1400050e0
jmp 0x140002064
mov rax, r12
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x39]
mov qword [rbp - 0x19], rax
mov dword [rbp - 1], r15d
lea rcx, [rbp - 0x39]
call fcn.1400035e0
mov rbx, rax
lea rcx, [rbp - 0x39]
call fcn.1400035b0
mov rsi, rax
cmp rbx, rax
je 0x1400020ec
nop dword [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003a20
lea rdx, [0x140003dd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x11]
call fcn.140003df0
mov rcx, rax
call fcn.140003e10
inc rbx
cmp rbx, rsi
jne 0x1400020b0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14000212b
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002125
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002125
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005124
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140002169
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002164
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002164
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005124
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400021af
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400021aa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400021e6
mov rcx, r8
call fcn.140005124
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400050c0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011e0
nop
call fcn.140001120
int3