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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4710b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x10
call fcn.00403af4
push 0x4710c4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x471096
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x2c], 0x30
cmp dword [ebp - 8], 0
jne 0x470e85
lea eax, [ebp - 0x30]
call fcn.004052a8
jmp 0x470ebe
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
lea edx, [ebp - 0xb8]
mov ecx, 1
mov eax, 0x4710dc
call fcn.0040dee0
push 0x4710e4
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x28], eax
call dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wtsapi32.dll_WTSQueryUserToken
lea eax, [ebp - 0x98]
xor ecx, ecx
mov edx, 0x44
call fcn.00403af4
mov dword [ebp - 0x98], 0x44
mov eax, 0x471104
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x6c], 1
mov word [ebp - 0x68], 1
lea eax, [ebp - 0x1c]
push eax
push 0x201eb
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x47101b
lea eax, [ebp - 0x40]
push eax
push 0x471114
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x47100d
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 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
push 4
lea eax, [ebp - 0x14]
push eax
push 0xc
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_SetTokenInformation
push 1
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.userenv.dll_CreateEnvironmentBlock
test eax, eax
je 0x470fb5
or dword [ebp - 0x2c], 0x400
jmp 0x470fba
xor eax, eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405738
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.00405738
push eax
push 0
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xe], al
cmp byte [ebp - 0xe], 0
jne 0x471026
mov byte [ebp - 0xd], 0
call fcn.00404cc8
jmp 0x47109d
mov byte [ebp - 0xd], 0
call fcn.00404cc8
jmp 0x47109d
mov byte [ebp - 0xd], 0
call fcn.00404cc8
jmp 0x47109d
cmp byte [ebp + 0xc], 0
je 0x47104c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47109d
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4710ba
lea eax, [ebp - 0x30]
call fcn.004052a8
ret