Function at 0x10029080
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075005
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x3c
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.10055bd0
push 0
lea eax, [ebp - 0x5c]
push 0x3c
push eax
call fcn.10033390
mov eax, dword [ebp + 0xc]
add esp, 0x18
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x54], esi
push eax
mov dword [ebp - 0x58], 0x540
mov dword [ebp - 0x50], str.runas
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], 0x100a416c
mov dword [ebp - 0x40], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1002923b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
call fcn.100218f0
cmp byte [eax + 0x1c], 0
je 0x10029226
call fcn.100218f0
mov ebx, eax
call fcn.1000a960
mov edi, eax
test edi, edi
je 0x1002938e
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
push 0x30
push str.::ShellExecuteEx___call_failed_with_error_code:
call fcn.10014a40
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.10021e30
mov dword [ebp - 0x1c], eax
call fcn.1000a960
mov edi, eax
test edi, edi
je 0x1002938e
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
push 0
push 0x100a416c
call fcn.10014a40
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x100291ce
push str.AiEmbeddedDirectCall
push eax
call dword [sym.imp.msi.dll_MsiGetComponentStateW]
cmp eax, 1
je 0x100291ce
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.10021b10
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100291fb
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10029226
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10029363
call fcn.100218f0
cmp byte [eax + 0x1c], 0
je 0x1002934c
call fcn.100218f0
mov ebx, eax
call fcn.1000a960
mov edi, eax
test edi, edi
je 0x1002938e
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x10]
push 0x14
push str.NULL_process_handle_
call fcn.10014a40
call fcn.1000a960
mov edi, eax
test edi, edi
je 0x1002938e
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x18]
push 0
push 0x100a416c
call fcn.10014a40
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x100292f4
push str.AiEmbeddedDirectCall
push eax
call dword [sym.imp.msi.dll_MsiGetComponentStateW]
cmp eax, 1
je 0x100292f4
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.10021b10
mov byte [ebp - 4], 0xc
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x18]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x10029321
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002934c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005390
int3