Function at 0x4750aa
Capabilities:
Create process on windows

Disassembly:
push 0xe8
mov eax, 0x5bd898
call fcn.00595e20
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ConvertStringSidToSidA
call fcn.004015a6
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Advapi32.dll
call fcn.004015a6
mov byte [ebp - 4], 2
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], bl
call fcn.004754c3
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xac]
call dword [eax + 0x2c]
test eax, eax
jne 0x47512e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xac]
call fcn.004755cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401752
xor eax, eax
call fcn.00595ef8
ret
call fcn.00474ffb
cmp dword [ebp + 0xc], eax
jle 0x475215
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], 0x40
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], str.runas
mov dword [ebp - 0x6c], 0x61b5f4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], 5
mov dword [ebp - 0x60], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4751f6
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CCoreVista::CreateProcessA
call fcn.004015a6
mov byte [ebp - 4], 4
push 0xab
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..CoreVista.cpp
call fcn.004015a6
mov byte [ebp - 4], 5
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push str.Failed_to_create_elevated_process:
push eax
lea ecx, [ebp + 8]
call fcn.004046a1
pop ecx
pop ecx
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 3
call fcn.0040abe3
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xac]
call fcn.004755cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401752
mov eax, esi
jmp 0x475128
cmp dword [ebp - 0x48], ebx
je 0x475210
push dword [ebp + 0x10]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x4751d5
lea ecx, [ebp - 0x14]
call fcn.004048be
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0xc]
dec eax
je 0x475298
dec eax
je 0x475291
dec eax
je 0x47528a
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.CCoreVista::CreateProcessA
call fcn.004015a6
mov byte [ebp - 4], 8
push 0xc7
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str..CoreVista.cpp
call fcn.004015a6
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Specified_process_integrity_is_invalid.
call fcn.004015a6
mov byte [ebp - 4], 0xa
push 1
mov byte [ebp - 4], 7
call fcn.0040abe3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401752
jmp 0x4751d3
push str.S_1_16_12288
jmp 0x47529d
push str.S_1_16_8192
jmp 0x47529d
push str.S_1_16_4096
lea ecx, [ebp - 0x14]
call fcn.004014d3
xor eax, eax
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x44], ebx
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0xf0]
push ebx
push eax
xor esi, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xf4], ebx
call fcn.0058ee10
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov edi, 0x2000000
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4753a9
lea eax, [ebp - 0x1c]
push eax
push 1
push 2
push ebx
push edi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4753a4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xac]
call dword [eax + 0x2c]
call eax
test eax, eax
je 0x47539f
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0x30], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x30]
push eax
push 0x19
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x475396
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xf4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp dword [ebp + 0x10], ebx
mov esi, eax
je 0x47538c
push dword [ebp + 0x10]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x44]
call edi
push dword [ebp - 0x40]
call edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x1c]
call edi
push dword [ebp - 0x28]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401752
jmp 0x4751d5