Function at 0x140007060
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov qword [rbp - 0x31], rdx
lea rdx, [rcx + 0x40]
call fcn.1400045a0
mov r15, rax
xor edi, edi
test rax, rax
jne 0x14000725b
mov rax, qword [0x14004d9e8]
mov qword [rbp - 0x31], rax
cmp byte [0x14004d9ef], dil
je 0x140007222
mov r8d, edi
cmp dword [0x14005c018], 2
jl 0x1400071e2
movdqa xmm4, xmmword [0x140054dc0]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x140054910]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140054960]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400549c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400549f0]
movd xmm0, dword [rbp - 0x31]
pxor xmm2, xmm0
movd dword [rbp - 0x31], xmm2
movdqa xmm3, xmmword [0x140054930]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140054960]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400549c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400549f0]
movd xmm0, dword [rbp - 0x2d]
pxor xmm2, xmm0
movd dword [rbp - 0x2d], xmm2
jmp 0x140007222
lea r9, [rbp - 0x31]
nop word [rax + rax]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400071f0
mov qword [rsi], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
lea rax, [rbp - 0x31]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140007240
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.1400043a0
jmp 0x140007492
mov dword [rbp - 0x31], edi
mov dword [rbp - 0x55], edi
mov eax, dword [0x14005c830]
mov dword [rbp - 0x59], eax
mov rax, qword [0x14005c850]
mov qword [rbp - 0x49], rax
lea rax, [r15 + 0x30]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], 4
mov eax, 5
mov dword [rbp - 0x69], eax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x65], 2
mov dword [rsp + 0x48], 0x10
lea rax, [rbp - 0x69]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x10
lea rax, [rbp - 0x69]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14005c838]
call fcn.14004a160
xorps xmm0, xmm0
mov r13d, dword [rbp - 0x31]
lea eax, [r13 + 1]
mov r14d, eax
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rdi
test eax, eax
je 0x140007369
add r14, r14
cmp r14, 0x1000
jb 0x14000733a
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1400074c2
call fcn.14004a1a0
mov rcx, rax
test rax, rax
je 0x140007486
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000734c
test r14, r14
je 0x140007349
mov rcx, r14
call fcn.14004a1a0
jmp 0x14000734c
mov rax, rdi
mov qword [rbp - 0x29], rax
lea rbx, [r14 + rax]
mov qword [rbp - 0x19], rbx
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x21], rbx
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x140007397
lea rdx, [r15 + 0x28]
call fcn.1400045a0
mov r9, r13
add r9, r9
mov r8, rbx
mov rdx, rax
lea rcx, [0x14005c830]
call fcn.14000f570
mov rbx, qword [rbp - 0x29]
mov qword [rbp - 0x11], rdi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400073b2
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140002d10
nop
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x11]
mov rax, qword [rbp - 1]
cmp qword [rbp + 7], 8
jb 0x1400073eb
mov rdx, qword [rbp - 0x11]
lea r8, [rdx + rax*2]
jmp 0x1400073f3
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.140004670
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000743f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000743a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000743a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a434
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140007492
mov rdx, qword [rbp - 0x19]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000748d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000748d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a434
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14004a180
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140001150
int3