Function at 0x140001450
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rcx
mov qword [rsp + 0x20], rcx
xor ebx, ebx
mov dword [rsp + 0x58], ebx
lea rcx, [rbp - 0x68]
call fcn.140001290
nop
movsd xmm0, qword [0x140006590]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [0x140006598]
mov word [rsp + 0x28], ax
cmp byte [0x140006599], bl
je 0x1400014f1
mov byte [rsp + 0x20], 0x43
xor byte [rsp + 0x21], 0x39
xor byte [rsp + 0x22], 0x3a
xor byte [rsp + 0x23], 0x3b
xor byte [rsp + 0x24], 0x3c
xor byte [rsp + 0x25], 0x3d
xor byte [rsp + 0x26], 0x3e
xor byte [rsp + 0x27], 0x3f
xor byte [rsp + 0x28], 0x40
xor byte [rsp + 0x29], 0x41
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140001510
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x48]
call fcn.140004260
nop
movups xmm0, xmmword [str.dxJKxJ]
movups xmmword [rsp + 0x38], xmm0
movzx eax, byte [0x1400066c0]
mov byte [rsp + 0x48], al
mov r8d, ebx
cmp dword [0x14000a090], 2
jl 0x140001685
movdqa xmm5, xmmword [0x1400067a0]
movdqa xmm4, xmmword [0x1400067e0]
movdqa xmm6, xmmword [0x1400067c0]
movdqa xmm0, xmmword [0x1400067f0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x3c]
mov edx, dword [rsp + 0x20]
nop
movd xmm2, r8d
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, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400067d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400067d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140001580
cmp r8d, 0x11
jge 0x1400016bf
movsxd rax, r8d
lea r9, [rsp + 0x38]
add r9, 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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140001690
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400016e0
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.140004260
nop
lea r14, [rbp - 0x48]
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp - 0x30]
mov qword [rsp + 0x70], rcx
cmp rcx, 0xf
cmova r14, rax
lea r12, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova r12, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x58]
cmp rdi, rsi
ja 0x140001790
mov rax, rsi
sub rax, rdi
test rdi, rdi
je 0x140001797
lea r13, [rax + r12]
movsx edx, byte [r14]
lea r8, [r13 + 1]
sub r8, r12
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140001790
nop dword [rax]
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400017ee
inc rbx
lea r8, [r13 + 1]
sub r8, rbx
movsx edx, byte [r14]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140001760
mov rbx, 0xffffffffffffffff
lea rcx, [rdi + rbx]
mov qword [rsp + 0x30], rcx
lea r14, [rbp - 0x28]
mov r13, qword [rbp - 0x28]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x68], rax
cmp rax, 0xf
cmova r14, r13
lea r12, [rbp - 0x68]
mov r8, qword [rbp - 0x50]
cmp r8, 0xf
mov rdx, qword [rbp - 0x68]
cmova r12, rdx
mov rdi, qword [rbp - 0x18]
cmp rdi, rsi
ja 0x140001859
mov rax, rsi
sub rax, rdi
mov qword [rsp + 0x60], rax
test rdi, rdi
jne 0x1400017f3
xor ebx, ebx
jmp 0x140001860
sub rbx, r12
jmp 0x140001797
lea r8, [rax + 1]
add r8, r12
movsx edx, byte [r14]
sub r8, r12
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000184c
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400018bb
inc rbx
mov r8, qword [rsp + 0x60]
inc r8
add r8, r12
sub r8, rbx
movsx edx, byte [r14]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140001811
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x50]
mov rbx, 0xffffffffffffffff
cmp rcx, 0xffffffffffffffff
je 0x1400018cd
cmp rbx, 0xffffffffffffffff
je 0x1400018cd
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
cmp rsi, rcx
jb 0x140001ab3
sub rbx, rcx
sub rsi, rcx
cmp rsi, rbx
cmovb rbx, rsi
lea rax, [rbp - 0x68]
cmp r8, 0xf
cmova rax, rdx
lea rdx, [rax + rcx]
mov r8, rbx
lea rcx, [rsp + 0x78]
call fcn.140004260
lea rax, [rsp + 0x78]
mov ebx, 9
jmp 0x1400018fc
sub rbx, r12
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x50]
jmp 0x140001860
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
xor r8d, r8d
lea rdx, [0x140006551]
lea rcx, [rsp + 0x38]
call fcn.140004260
lea rax, [rsp + 0x38]
mov ebx, 2
mov qword [r15 + 0x10], 0
mov qword [r15 + 0x18], 0
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebx, 4
test bl, 2
je 0x14000197b
and ebx, 0xfffffffd
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000197b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001975
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001975
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004934
nop
test bl, 1
je 0x1400019c0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400019c0
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004934
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400019ff
inc rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x1400019f6
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.140004934
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140001a40
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004934
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140001a7e
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004934
mov rax, r15
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400048d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140003af0
nop
int3