Function at 0x4f53a4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.005693ad
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.005693ad
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.005693ad
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4f546b
push 0x19
push 0x4025cd6
push 6
call fcn.005693b9
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, 0xba32a6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4f5484
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_OpenProcessToken]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4f54bd
push 0x5d
push 0x4025cd6
push 6
call fcn.005693b9
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0xa5f8b9
call dword [sym.imp.advapi32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4f54f1
push 0x87
push 0x4025cd6
push 6
call fcn.005693b9
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_AdjustTokenPrivileges]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4f558f
push 0x185
push 0x4025cd6
push 6
call fcn.005693b9
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4f55be
push 0x1c9
push 0x4025cd6
push 6
call fcn.005693b9
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x4f55c6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4f55d7
push ebx
call fcn.005693b3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.005693b3
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.005693b3
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.005693b3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret