Function at 0x140007d40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140066040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r15d, r15d
mov esi, r15d
cmp byte [0x1400e9421], r15b
je 0x140007fd9
lea r12d, [r15 + 5]
lea r13, [0x1400e8890]
movabs r14, 0x311cdad160000
movsd xmm6, qword [0x14005c3a8]
nop word [rax + rax]
movsd xmm0, qword [0x14005b2c8]
movsd qword [rbp - 0x31], xmm0
mov eax, dword [0x14005b2d0]
mov dword [rbp - 0x29], eax
cmp byte [0x14005b2d3], 0
je 0x140007e12
mov r8d, r15d
lea r9, [rbp - 0x31]
nop word [rax + rax]
movzx edx, r8b
and dl, 0x3f
movsx eax, r8b
imul ecx, eax, 0x3a
add dl, 0x29
add dl, cl
test r8b, 1
mov eax, 0xffffffcd
cmove eax, r12d
xor dl, al
xor byte [r9], dl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x140007de0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
lea rax, [rbp - 0x31]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140007e30
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.140005190
nop
test esi, esi
jle 0x140007e6c
mov ebx, esi
nop
mov r8d, 1
lea rdx, [0x14005b060]
lea rcx, [rbp - 0x11]
call fcn.140004cc0
sub rbx, 1
jne 0x140007e50
lea r9, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova r9, qword [rbp - 0x11]
mov rdi, qword [rbp - 1]
mov rax, qword [0x1400e88a8]
cmp rdi, rax
ja 0x140007eb4
mov rbx, r13
cmp rax, 0xf
cmova rbx, qword [0x1400e8890]
mov qword [0x1400e88a0], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140007ebf
mov rdx, rdi
mov rcx, r13
call fcn.140005490
lea rcx, [rbp - 0x21]
call fcn.140005ff0
mov rbx, qword [rbp - 0x21]
movabs rax, 0x7fffffffc46535ff
cmp rbx, rax
jge 0x140007ee4
add rbx, 0x3b9aca00
jmp 0x140007eee
movabs rbx, 0x7fffffffffffffff
lea rcx, [rbp - 0x39]
call fcn.140005ff0
mov rax, qword [rbp - 0x39]
cmp rax, rbx
jge 0x140007f84
movabs r12, 0x112e0be826d694b3
nop
mov rdi, rbx
sub rdi, rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rdx, rax, 0x64
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
comisd xmm0, xmm6
seta r8b
mov rcx, r14
test r8b, r8b
cmove rcx, rdi
add rcx, rdx
mov rax, r12
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0xf], rdx
imul rax, rdx, 0x3b9aca00
sub rcx, rax
mov dword [rbp + 0x17], ecx
lea rcx, [rbp + 0xf]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
lea rcx, [rbp - 0x39]
call fcn.140005ff0
mov rax, qword [rbp - 0x39]
cmp rax, rbx
jl 0x140007f10
mov r12d, 5
inc esi
and esi, 0x80000003
jge 0x140007f95
dec esi
or esi, 0xfffffffc
inc esi
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140007fcc
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000800b
call fcn.140053e2c
cmp byte [0x1400e9421], 0
jne 0x140007db0
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140053dd0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3