Function at 0x14002fab0
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 [0x1400c1060]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
xor r15d, r15d
mov dword [rbp + 7], r15d
mov r14d, dword [0x1401a7bec]
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 0x14002fb63
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 0x14002fb67
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 0x14002fb72
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x88
call fcn.1400933f4
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 [0x1400b1780]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp + 0x1f], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x77]
xor byte [rbp + rcx + 0xf], al
inc rcx
cmp rcx, 0xf
jb 0x14002fbd0
mov byte [rbp + 0x1f], 0
mov qword [rbp - 0x19], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
lea rax, [rbp + 0xf]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14002fc06
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x19]
call fcn.14003fdd0
nop
mov dword [rbp + 7], 1
movdqa xmm0, xmmword [0x1400b2fe0]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], 0xe1eae9cf
mov dword [rbp + 0x23], 0xbffeee
mov byte [rbp + 0x27], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx + 0x77]
xor byte [rbp + rcx + 0xf], al
inc rcx
cmp rcx, 0x17
jb 0x14002fc50
mov byte [rbp + 0x27], 0
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x39], 0
lea rax, [rbp + 0xf]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14002fc80
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x39]
call fcn.14003fdd0
nop
mov dword [rbp + 7], 3
movdqa xmm0, xmmword [0x1400b2fc0]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], 0x100fbfe
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx + 0x77]
xor byte [rbp + rcx + 0xf], al
inc rcx
cmp rcx, 0x12
jb 0x14002fcc0
mov byte [rbp + 0x22], 0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x59], 0
lea rax, [rbp + 0xf]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14002fcf0
mov r8, rbx
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x59]
call fcn.14003fdd0
nop
mov dword [rbp + 7], 7
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.14002f340
nop
mov qword [rsi], rax
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14002fd68
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fd62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fd62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400930d8
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14002fda7
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fda1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fda1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400930d8
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14002fde5
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fde0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fde0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400930d8
test r14d, r14d
je 0x14002fe11
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14002fdfd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14002fe11
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.140092b30
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