Function at 0x472400
Capabilities:
Acquire debug privileges
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x682138
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x50]
push eax
push 0x20
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push eax
call esi
test eax, eax
jne 0x4724de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00471c50
mov esi, eax
mov dword [ebp - 4], 0
mov edx, str.OpenProcessToken_failed:
lea ecx, [ebx + 0x10]
call fcn.0046dbb0
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x4724ab
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00473400
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00453390
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00611399
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 1
mov edx, str.SeIncreaseQuotaPrivilege
mov ecx, dword [ebp - 0x50]
call fcn.00471e50
mov ecx, dword [ebp - 0x50]
mov edx, str.SeDebugPrivilege
call fcn.00471e50
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x5c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x47254b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00471c50
mov esi, eax
mov dword [ebp - 4], 3
mov edx, str.Cant_open_desktop_shell_process:
jmp 0x472498
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x49], 0
push ecx
push 2
push eax
call esi
test eax, eax
jne 0x4725a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00471c50
mov esi, eax
mov dword [ebp - 4], 4
mov edx, str.Cant_get_process_token_of_desktop_shell:
lea ecx, [ebx + 0x10]
call fcn.0046dbb0
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x47258d
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00473400
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00453390
jmp 0x472641
lea eax, [ebp - 0x58]
push eax
push 1
push 2
push 0
push 0x18b
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x4725e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00471c50
mov esi, eax
mov dword [ebp - 4], 5
mov edx, str.Cant_get_primary_token:
jmp 0x47257a
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push 0
push 0
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push 0
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x47263d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00471c50
mov esi, eax
lea ecx, [ebx + 0x10]
mov dword [ebp - 4], 6
mov edx, str.CreateProcessWithTokenW_failed:
call fcn.0046dbb0
mov edx, esi
mov ecx, eax
call fcn.00472e50
lea ecx, [ebp - 0x48]
call fcn.00453390
jmp 0x472641
mov byte [ebp - 0x49], 1
push dword [ebp - 0x54]
call edi
push dword [ebp - 0x58]
call edi
push dword [ebp - 0x5c]
call edi
mov al, byte [ebp - 0x49]
jmp 0x4724c2