Function at 0x14002db30
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14019fec0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
lea r8, [rbp + 0x37]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x14002dc78
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [rbp - 0x39], 1
movdqa xmm0, xmmword [0x1401873f0]
movdqu xmmword [rbp - 0x35], xmm0
movdqa xmm1, xmmword [0x140187090]
movdqu xmmword [rbp - 0x25], xmm1
mov r8d, 1
lea rdx, [rbp - 0x35]
lea rcx, [rbp - 1]
call fcn.14002df20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov eax, dword [rax + 0x20]
mov dword [rbp - 0x19], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rbp - 0x35]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002dbe0
lea rdx, [rbp - 0x35]
lea rcx, [rbp - 0x59]
call fcn.14004eaa0
nop
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rdx, qword [rbp - 0x59]
mov rcx, rbx
call fcn.14004dd00
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14004ded0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14002deed
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dee8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002dee8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rbp + 0x3f], 1
mov rax, qword [rbp + 0x37]
mov qword [rbp + 0x43], rax
mov dword [rbp + 0x4b], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x3f]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x14002ddc8
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [rbp - 0x39], 1
movdqa xmm0, xmmword [0x140187270]
movdqu xmmword [rbp - 0x35], xmm0
movdqa xmm1, xmmword [0x140187150]
movdqu xmmword [rbp - 0x25], xmm1
mov r8d, 1
lea rdx, [rbp - 0x35]
lea rcx, [rbp - 1]
call fcn.14002e450
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov eax, dword [rax + 0x20]
mov dword [rbp - 0x19], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rbp - 0x35]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002dd30
lea rdx, [rbp - 0x35]
lea rcx, [rbp - 0x59]
call fcn.14004eaa0
nop
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rdx, qword [rbp - 0x59]
mov rcx, rbx
call fcn.14004dd00
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14004ded0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14002deed
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dee8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002dee8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x14002def1
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [rbp - 1], 1
movdqa xmm0, xmmword [0x140187290]
movdqu xmmword [rbp + 3], xmm0
movdqa xmm1, xmmword [0x140187440]
movdqu xmmword [rbp + 0x13], xmm1
movdqa xmm0, xmmword [0x1401871a0]
movdqu xmmword [rbp + 0x23], xmm0
mov byte [rbp + 0x33], 5
xor eax, eax
mov word [rbp + 0x34], ax
mov byte [rbp + 0x36], al
mov r8d, 1
lea rdx, [rbp + 3]
lea rcx, [rbp - 0x39]
call fcn.14002e9a0
movups xmm1, xmmword [rax]
movups xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp + 0x1f], xmm1
movsd xmm0, qword [rax + 0x30]
movsd qword [rbp + 0x2f], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x59], xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
lea rax, [rbp + 3]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002de70
lea rdx, [rbp + 3]
lea rcx, [rbp - 0x59]
call fcn.14004eaa0
nop
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rdx, qword [rbp - 0x59]
mov rcx, rbx
call fcn.14004dd00
lea rdx, [0x14004ded0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14002deed
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dee8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002dee8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010029c
xor eax, eax
jmp 0x14002def6
mov eax, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140100000
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rbp
ret