Function at 0x485fa0
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a20
mov eax, dword [ebp - 8]
call fcn.00404a20
xor eax, eax
push ebp
push 0x4863df
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x48a918], 0
je 0x486011
xor edx, edx
mov eax, 0x4863f8
call fcn.00478494
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48636b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00485aa0
mov edx, 0x486418
call fcn.0048591c
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x48635a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x486430
call fcn.00485ce0
mov ebx, eax
test ebx, ebx
seta al
mov edx, 0x486448
call fcn.0048591c
call dword [0x48a8fc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
seta al
mov edx, 0x486460
call fcn.0048591c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [0x48a904]
test eax, eax
jne 0x4860e9
xor edx, edx
mov eax, 0x486488
call fcn.00478494
call fcn.00485f04
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x94]
call fcn.004088d4
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x4864a0
call fcn.0040487c
mov eax, dword [ebp - 0x90]
xor edx, edx
call fcn.00478494
jmp 0x486127
cmp byte [0x48a918], 0
je 0x486127
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x9c]
call fcn.004088d4
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x4864bc
call fcn.0040487c
mov eax, dword [ebp - 0x98]
xor edx, edx
call fcn.00478494
cmp dword [ebp - 0x14], 0
setne al
mov edx, 0x4864e0
call fcn.0048591c
mov dword [ebp - 0x24], 0x30
lea eax, [ebp - 0x7c]
mov edx, 0x44
call fcn.00407138
mov dword [ebp - 0x7c], 0x44
mov eax, 0x4864f0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x38]
mov edx, 0x10
call fcn.00407138
push ebx
push 0
push 0x2000000
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
seta al
mov edx, 0x486508
call fcn.0048591c
lea eax, [ebp - 0x1c]
push eax
push 0xf00ff
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
mov edx, 0x48651c
call fcn.0048591c
lea eax, [ebp - 0x88]
push eax
push 0x486530
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, 0x48654c
call fcn.0048591c
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x80], 2
lea eax, [ebp - 0x18]
push eax
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_DuplicateTokenEx
cmp eax, 1
sbb eax, eax
inc eax
mov edx, 0x48656c
call fcn.0048591c
push 4
lea eax, [ebp - 0x10]
push eax
push 0xc
mov eax, dword [ebp - 0x18]
push eax
call dword [0x48a908]
cmp eax, 1
sbb eax, eax
inc eax
mov edx, 0x486588
call fcn.0048591c
push 0
push 0
push 0x10
lea eax, [ebp - 0x8c]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [0x48a90c]
cmp eax, 1
sbb eax, eax
inc eax
mov edx, 0x4865a4
call fcn.0048591c
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x48629a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
push eax
call dword [0x48a910]
cmp eax, 1
sbb eax, eax
inc eax
mov edx, 0x4865c4
call fcn.0048591c
test al, al
je 0x486290
or dword [ebp - 0x24], 0x400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4862a4
mov word [ebp - 0x4c], 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00408f40
mov eax, dword [ebp - 0xa0]
call fcn.00404a30
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
push 0
push dword [ebp - 4]
push 0x4865e4
push dword [ebp - 8]
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.004048f0
mov eax, dword [ebp - 0xa4]
call fcn.00404a30
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486361
cmp dword [ebp - 0x20], 0
jbe 0x48632c
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0x14], 0
jbe 0x48633b
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0x18], 0
jbe 0x48634a
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0x1c], 0
jbe 0x486359
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
ret