Function at 0x140007590
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400cb180]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov qword [rbp - 0x50], rdx
xor ebx, ebx
add rcx, 0x40
call fcn.140003980
mov r15, rax
test rax, rax
jne 0x14000772f
mov rax, qword [0x1400ac668]
mov qword [rbp - 0x50], rax
cmp byte [0x1400ac66f], bl
je 0x14000771e
cmp dword [0x1400cb1d8], 2
jl 0x1400076e4
movdqa xmm4, xmmword [0x1400b3cd0]
movdqa xmm2, xmmword [0x1400b3760]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b37f0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400b3820]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400b38a0]
movd xmm0, dword [rbp - 0x50]
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
movdqa xmm2, xmmword [0x1400b3780]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b37f0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400b3820]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400b38a0]
movd xmm0, dword [rbp - 0x4c]
xorps xmm2, xmm0
movd dword [rbp - 0x4c], xmm2
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.140004ff0
jmp 0x1400078b2
lea r8, [rbp - 0x50]
nop dword [rax + rax]
mov eax, 0x2f684bdb
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx edx, bl
sub dl, cl
add dl, 0x36
xor byte [r8], dl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 8
jl 0x1400076f0
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.140004ff0
jmp 0x1400078b2
lea rcx, [rax + 0x30]
call fcn.140005320
mov r12d, eax
xorps xmm0, xmm0
xor eax, eax
lea ecx, [r12 + 1]
mov esi, ecx
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
test ecx, ecx
je 0x1400077b3
add rsi, rsi
je 0x140007796
cmp rsi, 0x1000
jb 0x14000778e
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400078da
call fcn.14009d1b0
mov rcx, rax
test rax, rax
je 0x1400078a6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140007796
mov rcx, rsi
call fcn.14009d1b0
mov qword [rbp - 0x40], rax
lea rdi, [rsi + rax]
mov qword [rbp - 0x30], rdi
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x38], rdi
mov rdi, qword [rbp - 0x40]
test rdi, rdi
je 0x1400077d8
lea rcx, [r15 + 0x28]
call fcn.140003980
lea r8d, [r12 + r12]
mov rdx, rdi
mov rcx, rax
call fcn.1400016c0
mov rdi, qword [rbp - 0x40]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140004eb0
nop
mov rax, qword [rbp - 0x40]
cmp rax, qword [rbp - 0x38]
je 0x1400077f3
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x28]
cmova rdx, qword [rbp - 0x28]
mov rcx, r14
call fcn.140005110
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14000785e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007859
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007859
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d434
movdqa xmm0, xmmword [0x1400b36f0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], bx
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400078b2
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400078ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d434
mov rax, r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14009d190
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140003e60
int3