Function at 0x140001530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400bc008]
xor rax, rsp
mov qword [rbp + 8], rax
mov r15, rcx
mov qword [rbp - 0x40], rcx
mov eax, 0x5e
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0xa0a0a0a0
mov dword [rsp + 0x58], 0xa0a0a0a0
mov dword [rsp + 0x5c], 0xfefaaaa0
movdqa xmm0, xmmword [0x1400b9190]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400b9200]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1400b8e00]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1400b8da0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x1400b90a0]
movdqa xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0xefded4
xor r12d, r12d
mov edx, r12d
test eax, eax
je 0x1400015f9
nop dword [rax + rax]
mov eax, edx
lea rcx, [rsp + 0x54]
add rcx, rax
lea eax, [rdx - 0x6f]
xor byte [rcx], al
inc edx
mov eax, dword [rsp + 0x50]
cmp edx, eax
jb 0x1400015e0
mov byte [rsp + rax + 0x54], r12b
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
mov qword [rbp], 0xf
mov byte [rbp - 0x18], r12b
lea rax, [rsp + 0x54]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x140001620
lea rdx, [rsp + 0x54]
lea rcx, [rbp - 0x18]
call fcn.1400b4a60
nop
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
mov r9, qword [rbp - 8]
lea rcx, [r9 + 1]
xor edx, edx
div rcx
movsxd rcx, edx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
cmp r9, rcx
jb 0x140001884
sub r9, rcx
mov r8d, 1
cmp r9, r8
cmovb r8, r9
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rdx, qword [rbp - 0x18]
add rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400b4a60
nop
lea r9, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
cmp r14, 0x10
cmovae r9, rdi
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rax, rdx
sub rax, rcx
mov rsi, qword [rsp + 0x40]
cmp rsi, rax
ja 0x140001710
lea rax, [rsi + rcx]
mov qword [rbp - 0x28], rax
lea rbx, [rbp - 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x38]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14000172b
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400b5270
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
cmp r14, 0x10
jb 0x140001762
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000175a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400017ff
mov rcx, rdi
call fcn.1400b570c
cmp qword [rbp - 0x28], 0x26
jne 0x140001650
lea rbx, [rbp - 0x38]
mov qword [r15], r12
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
cmp qword [rbp - 0x20], 0x10
jb 0x140001787
mov rbx, qword [rbp - 0x38]
mov ecx, 0x30
call fcn.1400b56d0
mov qword [r15], rax
mov qword [r15 + 0x10], 0x27
mov qword [r15 + 0x18], 0x2f
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [rbx + 0x20]
mov dword [rax + 0x20], ecx
movzx ecx, word [rbx + 0x24]
mov word [rax + 0x24], cx
mov word [rax + 0x26], 0x20
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000180b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001806
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001806
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400b570c
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140001859
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001854
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001854
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b570c
mov rax, r15
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400b56b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400b4bf0
nop
int3