Function at 0x14002f7d0
Capabilities:
Acquire debug privileges
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140062010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
xor r15d, r15d
mov dword [rbp + 7], r15d
mov r14d, dword [0x14014858c]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rbp + 7], r15
mov qword [rbp + 0x2f], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 7]
lea edx, [r15 + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14002f883
lea r8, [rbp + 0x2f]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rbp + 7]
test eax, eax
je 0x14002f887
mov dword [rbp + 0xf], 1
mov rax, qword [rbp + 0x2f]
mov qword [rbp + 0x13], rax
mov dword [rbp + 0x1b], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp + 0xf]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14002f892
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x88
call fcn.1400465e4
mov rdi, rax
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
mov qword [rdi + 0x80], rax
movdqa xmm0, xmmword [0x140058880]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp + 0x1f], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x5b]
xor byte [rbp + rcx + 0xf], al
inc rcx
cmp rcx, 0xf
jb 0x14002f8f0
mov byte [rbp + 0x1f], 0
mov qword [rbp - 0x19], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
lea rax, [rbp + 0xf]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14002f926
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x19]
call fcn.140042150
nop
mov dword [rbp + 7], 1
movdqa xmm0, xmmword [0x14005a160]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], 0xd3d4d7fd
mov dword [rbp + 0x23], 0x89c8dc
mov byte [rbp + 0x27], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x5b]
xor byte [rbp + rcx + 0xf], al
inc rcx
cmp rcx, 0x17
jb 0x14002f970
mov byte [rbp + 0x27], 0
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
lea rax, [rbp + 0xf]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14002f9a0
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x39]
call fcn.140042150
nop
mov dword [rbp + 7], 3
movdqa xmm0, xmmword [0x14005a150]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], 0x100c5cc
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x5b]
xor byte [rbp + rcx + 0xf], al
inc rcx
cmp rcx, 0x12
jb 0x14002f9e0
mov byte [rbp + 0x22], 0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
lea rax, [rbp + 0xf]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14002fa10
mov r8, rbx
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x59]
call fcn.140042150
nop
mov dword [rbp + 7], 7
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.14002efc0
nop
mov qword [rsi], rax
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14002fa88
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fa82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fa82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400462c8
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14002fac7
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fac1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fac1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400462c8
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14002fb05
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fb00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fb00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400462c8
test r14d, r14d
je 0x14002fb31
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14002fb1d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14002fb31
mov r8d, r14d
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsi + 8], rax
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140045d20
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret