Function at 0x1400013c0
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
sub rsp, 0x440
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3b8], 0xfffffffffffffffe
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rcx
mov byte [rbp + 0x317], 0
mov qword [rbp + 0x318], 1
mov byte [rbp + 0x327], 0
mov qword [rbp + 0x328], 1
lea rax, [rbp + 0x330]
mov qword [rbp + 0x338], rax
lea rax, [rbp + 0x330]
mov qword [rbp + 0x340], rax
lea rcx, [rbp + 0x330]
xor edx, edx
mov r8d, 8
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x330]
mov qword [rbp + 0x348], rax
mov qword [rbp + 0x350], rax
mov qword [rbp - 0x30], rax
mov byte [rbp + 0x2b7], 0
mov qword [rbp + 0x2b8], 1
mov byte [rbp + 0x2c7], 0
mov qword [rbp + 0x2c8], 1
lea rax, [rbp + 0x2e0]
mov qword [rbp + 0x300], rax
lea rax, [rbp + 0x2e0]
mov qword [rbp + 0x308], rax
lea rcx, [rbp + 0x2e0]
xor edx, edx
mov r8d, 0x10
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x2e0]
mov qword [rbp + 0x2d0], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 0x2d8], rax
mov rax, qword [rbp + 0x2d0]
mov qword [rbp + 0x2f0], rax
mov rax, qword [rbp + 0x2d8]
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x2f0]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x2f8]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x1c], 2
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x20
lea r8, [rbp - 0x30]
call qword [sym.imp.advapi32.dll_OpenProcessToken]
cmp eax, 0
jne 0x14000158a
call fcn.140004680
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x70]
mov qword [rbp + 0x2a0], rcx
lea rax, [0x14000bf50]
mov qword [rbp + 0x2a8], rax
mov qword [rbp + 0x290], rcx
mov qword [rbp + 0x298], rax
mov rcx, qword [rbp + 0x290]
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rax
mov rax, rsp
mov qword [rax + 0x20], 1
lea rdx, str.OpenProcessToken_Error:
lea rcx, [rbp + 0x30]
mov r8d, 1
lea r9, [rbp + 0x60]
call fcn.140001ca0
jmp 0x1400015df
mov qword [rbp + 0x398], 0
mov qword [rbp + 0x3a0], 0
mov qword [rbp + 0x3b0], 0
mov rax, qword [rbp + 0x3b0]
mov qword [rbp + 0x3a8], rax
mov rcx, qword [rbp + 0x3a8]
lea r8, [rbp - 0x28]
add r8, 4
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.advapi32.dll_LookupPrivilegeValueW]
cmp eax, 0
je 0x140001647
jmp 0x1400016c9
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 0x30]
call fcn.1400053c0
jmp 0x1400015ee
lea rcx, [rbp + 0x70]
call fcn.140002ae0
jmp 0x1400015f9
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbp + 0x18]
movaps xmmword [rbp], xmm0
lea rcx, [rbp - 0x18]
mov rdx, rbp
call fcn.1400054a0
jmp 0x140001617
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x18]
mov qword [rax], rcx
mov rcx, qword [rbp - 0x10]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 8]
mov qword [rax + 0x10], rcx
mov rcx, rbp
call fcn.140005570
mov rax, qword [rbp - 0x38]
add rsp, 0x440
pop rbp
ret
call fcn.140004680
mov qword [rbp + 0x100], rax
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x280], rcx
lea rax, [0x14000bf50]
mov qword [rbp + 0x288], rax
mov qword [rbp + 0x270], rcx
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x270]
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rax
mov rax, rsp
mov qword [rax + 0x20], 1
lea rdx, str.LookupPrivilegeValueW_Error:
lea rcx, [rbp + 0xc0]
mov r8d, 1
lea r9, [rbp + 0xf0]
call fcn.140001ca0
jmp 0x140001771
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x28]
call fcn.140001000
mov rcx, qword [rbp - 0x48]
mov r9d, eax
mov qword [rbp + 0x378], 0
mov qword [rbp + 0x380], 0
mov qword [rbp + 0x390], 0
mov rax, qword [rbp + 0x390]
mov qword [rbp + 0x388], rax
mov r10, qword [rbp + 0x388]
mov qword [rbp + 0x358], 0
mov qword [rbp + 0x360], 0
mov qword [rbp + 0x370], 0
mov rax, qword [rbp + 0x370]
mov qword [rbp + 0x368], rax
mov rax, qword [rbp + 0x368]
xor edx, edx
lea r8, [rbp - 0x28]
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rax
call qword [sym.imp.advapi32.dll_AdjustTokenPrivileges]
cmp eax, 0
je 0x1400017f4
jmp 0x140001873
lea rcx, [rbp + 0xa8]
lea rdx, [rbp + 0xc0]
call fcn.1400053c0
jmp 0x140001786
lea rcx, [rbp + 0x100]
call fcn.140002ae0
jmp 0x140001794
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0xa0], rax
movups xmm0, xmmword [rbp + 0xa8]
movaps xmmword [rbp + 0x90], xmm0
lea rcx, [rbp + 0x78]
lea rdx, [rbp + 0x90]
call fcn.1400054a0
jmp 0x1400017c2
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x78]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x80]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x88]
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x90]
call fcn.140005570
jmp 0x14000163a
call fcn.140004680
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x190]
mov qword [rbp + 0x260], rcx
lea rax, [0x14000bf50]
mov qword [rbp + 0x268], rax
mov qword [rbp + 0x250], rcx
mov qword [rbp + 0x258], rax
mov rcx, qword [rbp + 0x250]
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0x180], rcx
mov qword [rbp + 0x188], rax
mov rax, rsp
mov qword [rax + 0x20], 1
lea rdx, str.AdjustTokenPrivileges_Error:
lea rcx, [rbp + 0x150]
mov r8d, 1
lea r9, [rbp + 0x180]
call fcn.140001ca0
jmp 0x14000188b
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp eax, 0
je 0x140001914
jmp 0x140001993
lea rcx, [rbp + 0x138]
lea rdx, [rbp + 0x150]
call fcn.1400053c0
jmp 0x1400018a0
lea rcx, [rbp + 0x190]
call fcn.140002ae0
jmp 0x1400018ae
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x130], rax
movups xmm0, xmmword [rbp + 0x138]
movaps xmmword [rbp + 0x120], xmm0
lea rcx, [rbp + 0x108]
lea rdx, [rbp + 0x120]
call fcn.1400054a0
jmp 0x1400018df
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x108]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x110]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x118]
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x120]
call fcn.140005570
jmp 0x14000163a
call fcn.140004680
mov qword [rbp + 0x228], rax
lea rcx, [rbp + 0x228]
mov qword [rbp + 0x240], rcx
lea rax, [0x14000bf50]
mov qword [rbp + 0x248], rax
mov qword [rbp + 0x230], rcx
mov qword [rbp + 0x238], rax
mov rcx, qword [rbp + 0x230]
mov rax, qword [rbp + 0x238]
mov qword [rbp + 0x218], rcx
mov qword [rbp + 0x220], rax
mov rax, rsp
mov qword [rax + 0x20], 1
lea rdx, str.CloseHandle_Error:
lea rcx, [rbp + 0x1e8]
mov r8d, 1
lea r9, [rbp + 0x218]
call fcn.140001ca0
jmp 0x1400019a3
mov rax, qword [rbp - 0x40]
mov qword [rax], 0
jmp 0x14000163a
lea rcx, [rbp + 0x1d0]
lea rdx, [rbp + 0x1e8]
call fcn.1400053c0
jmp 0x1400019b8
lea rcx, [rbp + 0x228]
call fcn.140002ae0
jmp 0x1400019c6
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x1c0], rax
movups xmm0, xmmword [rbp + 0x1d0]
movaps xmmword [rbp + 0x1b0], xmm0
lea rcx, [rbp + 0x198]
lea rdx, [rbp + 0x1b0]
call fcn.1400054a0
jmp 0x1400019f7
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x198]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x1a0]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x1a8]
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x1b0]
call fcn.140005570
jmp 0x14000163a