Function at 0x140007820
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.140003a30
mov r15, rax
test rax, rax
jne 0x1400079b7
mov rax, qword [0x1400ac680]
mov qword [rbp - 0x50], rax
cmp byte [0x1400ac687], bl
je 0x1400079a6
cmp dword [0x1400cb1d8], 2
jl 0x140007974
movdqa xmm4, xmmword [0x1400b3ca0]
movdqa xmm2, xmmword [0x1400b3740]
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 [str.2222555577779999::::]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400b3800]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400b3860]
movd xmm0, dword [rbp - 0x50]
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
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 [str.2222555577779999::::]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400b3800]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400b3860]
movd xmm0, dword [rbp - 0x4c]
xorps xmm2, xmm0
movd dword [rbp - 0x4c], xmm2
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.140004f60
jmp 0x140007b3a
lea r8, [rbp - 0x50]
nop dword [rax + rax]
mov eax, 0x51eb851f
mul ebx
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
movzx edx, bl
sub dl, cl
add dl, 0x35
xor byte [r8], dl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 8
jl 0x140007980
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.140004f60
jmp 0x140007b3a
lea rcx, [rax + 0x30]
call fcn.1400053b0
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 0x140007a3b
add rsi, rsi
je 0x140007a1e
cmp rsi, 0x1000
jb 0x140007a16
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140007b62
call fcn.14009cf00
mov rcx, rax
test rax, rax
je 0x140007b2e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140007a1e
mov rcx, rsi
call fcn.14009cf00
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 0x140007a60
lea rcx, [r15 + 0x28]
call fcn.140003a30
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.140004e20
nop
mov rax, qword [rbp - 0x40]
cmp rax, qword [rbp - 0x38]
je 0x140007a7b
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.1400051a0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x140007ae6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ae1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ae1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d184
movdqa xmm0, xmmword [0x1400b36d0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], bx
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140007b3a
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007b35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d184
mov rax, r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14009cee0
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.140003f60
int3