Function at 0x472840
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov edi, edx
mov eax, dword [0x575010]
xor eax, ebp
mov dword [esp + 0xb8], eax
movzx eax, byte [0x576b2c]
mov byte [esp + 7], al
test al, 0x19
mov dword [esp + 0x18], ecx
jne 0x472a97
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0xffffffff
lea ebx, [esp + 0x2c]
mov ecx, edi
push ebx
call fcn.0048b8c0
lea esi, [esp + 0x74]
mov ecx, esi
push ebx
call fcn.0044ce68
mov ecx, ebx
call fcn.00487c20
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
lea ebx, [esp + 0x68]
mov ecx, edi
push ebx
call fcn.0048d190
pxor xmm0, xmm0
movdqu xmmword [esp + 0x50], xmm0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], 0x40
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], str.runas
cmp byte [esp + 0x7f], 0
jns 0x472938
mov esi, dword [esp + 0x74]
movzx eax, byte [ebp + 8]
mov dword [esp + 0x3c], esi
cmp byte [esp + 0x73], 0
jns 0x47294b
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0
xor al, 1
movzx eax, al
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x472a00
cmp byte [ebp + 0xc], 0
mov ebx, dword [esp + 0x18]
je 0x4729fa
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0xb0], 0xffffffff
lea edi, [esp + 0x1c]
push 0xbe
push str....._baseprocesslaunch_win.cc
push str.LaunchElevatedProcess
push edi
call fcn.004877c0
add esp, 0x10
lea esi, [esp + 0x80]
mov ecx, esi
push 0
push edi
call fcn.00479320
push 0xffffffffffffffff
push dword [esp + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.004793a0
mov eax, dword [esp + 0x64]
jmp 0x472a06
xor eax, eax
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push eax
call fcn.00472470
cmp byte [esp + 0x73], 0
js 0x472a76
cmp byte [esp + 0x7f], 0
js 0x472a89
test byte [esp + 7], 0x19
mov ecx, dword [esp + 0x14]
je 0x472a5e
cmp byte [ecx], 0
je 0x472a5e
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
sub esp, 0x10
movq xmm0, qword [esp + 0x3c]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0046c660
add esp, 0x10
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.00508d63
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x68]
call fcn.00507dc6
add esp, 4
cmp byte [esp + 0x7f], 0
jns 0x472a1c
push dword [esp + 0x74]
call fcn.00507dc6
add esp, 4
jmp 0x472a1c
sub esp, 0x24
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.LaunchElevatedProcess
mov dword [esp + 4], 0x576b2c
mov dword [esp], 0x58
mov dword [esp + 0x34], str.LaunchElevatedProcess
mov dword [esp + 0x38], 0x576b2c
call fcn.0044c014
add esp, 0x24
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
jmp 0x472896