Function at 0x1400026f0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x148
movzx eax, byte [0x1400f0004]
movsx eax, al
mov dword [rsp + 0x40], eax
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
call fcn.140001240
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x44], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0x44]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x1400028f2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x100]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140002791
mov qword [rsp + 0x108], 1
jmp 0x14000279d
mov qword [rsp + 0x108], 0
cvtsi2sd xmm0, qword [rsp + 0x108]
call fcn.140001290
mov dword [rsp + 0x58], eax
movzx ecx, byte [0x1400f0004]
movsx ecx, cl
mov dword [rsp + 0x4c], ecx
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
call fcn.140001240
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0x50], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0x50]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x58]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x1400028f2
xor eax, eax
cmp eax, 1
je 0x1400028f2
lea rdx, str.Failed_to_open_process_token._n
lea rcx, [0x1400f26c0]
call fcn.140004680
nop
mov dword [rsp + 0x30], 0
jmp 0x140002858
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1400f0004]
movsx eax, al
mov dword [rsp + 0x5c], eax
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
call fcn.140001240
movsx eax, al
mov dword [rsp + 0x60], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0x60]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.140001290
cmp dword [rsp + 0x30], eax
jge 0x1400028f2
mov dword [rsp + 0x34], 0
jmp 0x1400028df
cmp dword [rsp + 0x34], 0x1a
jae 0x1400028ed
jmp 0x14000302f
jmp 0x14000284e
movzx eax, byte [0x1400f0004]
movsx eax, al
mov dword [rsp + 0x68], eax
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
call fcn.140001240
movsx eax, al
shl eax, 1
mov dword [rsp + 0x6c], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0x6c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x140002b10
lea r8, [rsp + 0x120]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x140002986
mov qword [rsp + 0x110], 1
jmp 0x140002992
mov qword [rsp + 0x110], 0
cvtsi2sd xmm0, qword [rsp + 0x110]
call fcn.140001290
mov dword [rsp + 0x80], eax
movzx ecx, byte [0x1400f0004]
movsx ecx, cl
mov dword [rsp + 0x74], ecx
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
call fcn.140001240
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x78], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0x78]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x80]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140002b10
xor eax, eax
cmp eax, 2
je 0x140002b10
lea rdx, str.Failed_to_look_up_privilege_value._n
lea rcx, [0x1400f26c0]
call fcn.140004680
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x38], 0
jmp 0x140002a61
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1400f0004]
movsx eax, al
mov dword [rsp + 0x84], eax
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], eax
call fcn.140001240
movsx eax, al
shl eax, 3
mov dword [rsp + 0x88], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0x88]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x8c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.140001290
cmp dword [rsp + 0x38], eax
jge 0x140002b10
mov dword [rsp + 0x3c], 0
jmp 0x140002afd
cmp dword [rsp + 0x3c], 0x2b
jae 0x140002b0b
jmp 0x14000302f
jmp 0x140002a57
mov dword [rsp + 0x128], 1
mov eax, 0xc
imul rax, rax, 0
mov rcx, qword [rsp + 0x120]
mov qword [rsp + rax + 0x12c], rcx
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x134], 2
movzx eax, byte [0x1400f0004]
movsx eax, al
mov dword [rsp + 0x90], eax
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x98], eax
call fcn.140001240
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x94], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0x94]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x140003020
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x128]
xor edx, edx
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140002c08
mov qword [rsp + 0x118], 1
jmp 0x140002c14
mov qword [rsp + 0x118], 0
cvtsi2sd xmm0, qword [rsp + 0x118]
call fcn.140001290
mov dword [rsp + 0xa8], eax
movzx ecx, byte [0x1400f0004]
movsx ecx, cl
mov dword [rsp + 0x9c], ecx
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0x9c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa4], eax
call fcn.140001240
movsx eax, al
shl eax, 2
mov dword [rsp + 0xa0], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0xa0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xa8]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140002cd0
xor eax, eax
cmp eax, 9
je 0x140002cd0
lea rdx, str.Failed_to_adjust_token_privileges._n
lea rcx, [0x1400f26c0]
call fcn.140004680
nop
jmp 0x140003020
movzx eax, byte [0x1400f0004]
movsx eax, al
mov dword [rsp + 0xac], eax
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0xac]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb4], eax
call fcn.140001240
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0xb0], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0xb0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xb4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x140003020
movzx eax, byte [0x1400f0001]
movsx eax, al
mov dword [rsp + 0xb8], eax
call fcn.140001260
movsx eax, al
mov ecx, dword [rsp + 0xb8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xbc], eax
call fcn.140001250
movsx eax, al
shl eax, 1
movzx ecx, byte [0x1400f2080]
movsx ecx, cl
imul eax, ecx
mov ecx, dword [rsp + 0xbc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc0], eax
call fcn.140001280
movsx eax, al
mov ecx, dword [rsp + 0xc0]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.140001290
mov dword [rsp + 0xd0], eax
movzx ecx, byte [0x1400f0004]
movsx ecx, cl
mov dword [rsp + 0xc4], ecx
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0xc4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xcc], eax
call fcn.140001240
movsx eax, al
shl eax, 3
mov dword [rsp + 0xc8], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0xc8]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xcc]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xd0]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14000300c
xor eax, eax
cmp eax, 3
je 0x14000300c
movsd xmm0, qword [0x1400cde08]
call fcn.140001290
nop
movzx eax, byte [0x1400f0004]
movsx eax, al
mov dword [rsp + 0xd4], eax
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0xd4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xdc], eax
call fcn.140001240
movsx eax, al
mov dword [rsp + 0xd8], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0xd8]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xdc]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x14000300a
movzx eax, byte [0x1400f0004]
movsx eax, al
mov dword [rsp + 0xe0], eax
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0xe0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xe8], eax
call fcn.140001240
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0xe4], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0xe4]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xe8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.140001290
mov dword [rsp + 0xf8], eax
movzx ecx, byte [0x1400f0004]
movsx ecx, cl
mov dword [rsp + 0xec], ecx
call fcn.140001270
movsx eax, al
mov ecx, dword [rsp + 0xec]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xf4], eax
call fcn.140001240
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0xf0], eax
call fcn.140001230
movsx eax, al
mov ecx, dword [rsp + 0xf0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xf4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x1400f0003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xf8]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14000300a
xor eax, eax
cmp eax, 7
je 0x14000300a
movsd xmm0, qword [0x1400cdde0]
call fcn.140001290
nop
jmp 0x140003020
lea rdx, str.SeDebugPrivilege_enabled_successfully._n
lea rcx, [0x1400f2590]
call fcn.140004680
nop
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x148
ret