Function at 0x429360
Capabilities:
Acquire debug privileges

Disassembly:
push 0xffffffffffffffff
push 0x471d48
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x28
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor esi, esi
test eax, eax
jne 0x429439
push 0x47
push str.._srcutil_npProcUtil.cpp_1950__:__npz::cmn::npProcUtil::setPrivileges_
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], si
call fcn.00401540
mov dword [esp + 0x70], esi
mov dword [esp + 0x14], esi
push 0xffffffffffffffff
lea esi, [esp + 0x18]
mov byte [esp + 0x74], 1
call fcn.00417410
mov ebx, dword [esp + 0x38]
add esp, 4
cmp dword [esp + 0x48], 8
jae 0x4293f6
lea ebx, [esp + 0x34]
mov esi, dword [esp + 0x14]
push esi
mov ecx, 2
call fcn.0041aaa0
push esi
call fcn.0045332d
add esp, 8
cmp dword [esp + 0x48], 8
jb 0x429422
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00452ad1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x68
ret
lea edx, [esp + 0x18]
push edx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4294be
push 0x47
push str.._srcutil_npProcUtil.cpp_1957__:__npz::cmn::npProcUtil::setPrivileges_
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], si
call fcn.00401540
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push 1
push eax
mov dword [esp + 0x7c], 2
call fcn.004175f0
add esp, 0xc
cmp dword [esp + 0x48], 8
jb 0x42949c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00452ad1
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push esi
push esi
push 0x10
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
push esi
push eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x429554
push str.._srcutil_npProcUtil.cpp_1969__:__npz::cmn::npProcUtil::setPrivileges_
lea ecx, [esp + 0x34]
call fcn.004014d0
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push 1
push ecx
mov dword [esp + 0x7c], 3
call fcn.004175f0
add esp, 0xc
cmp dword [esp + 0x48], 8
jb 0x429532
mov edx, dword [esp + 0x34]
push edx
call fcn.00452ad1
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4295b0
push str.._srcutil_npProcUtil.cpp_1978__:__npz::cmn::npProcUtil::setPrivileges_
lea ecx, [esp + 0x50]
call fcn.004014d0
push 0xffffffffffffffff
lea edx, [esp + 0x50]
push 1
push edx
mov dword [esp + 0x7c], 4
call fcn.004175f0
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.00401510
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x68
ret
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x68
ret