Function at 0x4a4460
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 ebx, ecx
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [esp + 0xb8], eax
mov al, byte [0x4d0d08]
xor esi, esi
dec esi
mov byte [esp + 3], al
test al, 0x19
jne 0x4a4679
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
lea esi, [esp + 0x28]
mov ecx, edi
push esi
call fcn.00425800
cmp byte [esi + 0xb], 0
mov dword [esp + 0x14], ebx
js 0x4a453c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
movq xmm0, qword [esp + 0x28]
movq qword [esp + 0x70], xmm0
lea ebx, [esp + 0x28]
mov ecx, ebx
call fcn.0044a6b0
xor eax, eax
dec eax
lea esi, [esp + 0x64]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, edi
push esi
call fcn.004a6290
xor edi, edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x34], edi
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x24], xmm0
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x40
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], str.runas
cmp byte [esp + 0x7b], 0
js 0x4a454f
lea ecx, [esp + 0x70]
jmp 0x4a4553
lea ecx, [esp + 0x70]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0041c160
jmp 0x4a44df
mov ecx, dword [esp + 0x70]
mov al, byte [ebp + 8]
mov dword [esp + 0x38], ecx
cmp byte [esp + 0x6f], 0
jns 0x4a4565
mov esi, dword [esp + 0x64]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
xor al, 1
movzx eax, al
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x4a45f1
cmp byte [ebp + 0xc], 0
je 0x4a45ed
lea edi, [esp + 0x80]
xor esi, esi
dec esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x30], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea eax, [esp + 0x18]
push 0x9e
push str....._baseprocesslaunch_win.cc
push str.LaunchElevatedProcess
push eax
call fcn.0044a380
add esp, 0x10
mov ecx, edi
push 0
lea eax, [esp + 0x1c]
push eax
call fcn.0044e1c0
push esi
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.0044e240
mov edi, dword [esp + 0x60]
mov ecx, ebx
push edi
call fcn.004208d0
cmp byte [esp + 0x6f], 0
jns 0x4a460c
push dword [esp + 0x64]
call fcn.00462617
add esp, 4
cmp byte [esp + 0x7b], 0
jns 0x4a461f
push dword [esp + 0x70]
call fcn.00462617
add esp, 4
test byte [esp + 3], 0x19
mov eax, dword [esp + 0x10]
je 0x4a4661
cmp byte [eax], 0
je 0x4a4661
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
sub esp, 0x10
movq xmm0, qword [esp + 0x38]
movq qword [esp + 8], xmm0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004452e0
add esp, 0x10
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.00462e56
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x28]
push eax
call fcn.00445b60
add esp, 4
call fcn.00446100
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.LaunchElevatedProcess
mov dword [esp + 4], 0x4d0d08
mov dword [esp], 0x58
call fcn.00444a40
add esp, 0x30
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0xc], str.LaunchElevatedProcess
mov dword [esp + 0x10], 0x4d0d08
jmp 0x4a44a9