Function at 0x10010c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push 0x38
push 0
lea eax, [ebp - 0x3c]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
xor ecx, ecx
cmp dword [ebp + 8], 0
setne cl
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x10010c75
push 0x66
push 0x10038c84
call fcn.10010790
add esp, 8
push eax
push 0x10038c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100026a0
add esp, 0xc
jmp 0x10010e66
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x440
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.10010850
test eax, eax
je 0x10010db3
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], 0xffffffff
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10035510
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10010d16
push 0x77
push 0x10038ca0
call fcn.10010790
add esp, 8
push eax
push str.HELP::CreateSpawnProcess_pPath__hStdOut__hStdIn_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100026a0
add esp, 0xc
jmp 0x10010e66
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x10010dae
xor ecx, ecx
cmp dword [ebp - 0x50], 0xffffffff
setne cl
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x10010d6b
push 0x7b
push 0x10038ce4
call fcn.10010790
add esp, 8
push eax
push str.hStdOut_INVALID_HANDLE_VALUE
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100026a0
add esp, 0xc
jmp 0x10010e66
mov edx, dword [ebp - 0x50]
push edx
call fcn.10035390
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10010dae
push 0x7c
push 0x10038d14
call fcn.10010790
add esp, 8
push eax
push str.HELP::WaitSpawnResult_hStdOut_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100026a0
add esp, 0xc
jmp 0x10010e66
jmp 0x10010e66
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10010df1
push 0x81
push 0x10038d44
call fcn.10010790
add esp, 8
push eax
push str.ShellExecuteEx_sei_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100026a0
add esp, 0xc
jmp 0x10010e66
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x10010e66
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
je 0x10010e66
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor edx, edx
cmp dword [ebp - 4], 0
sete dl
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
jne 0x10010e66
push 0x8a
push 0x10038d6c
call fcn.10010790
add esp, 8
push eax
push str.dwExitCode0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100026a0
add esp, 0xc
cmp dword [ebp - 8], 0xffffffff
je 0x10010e7d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 0x44], 0
jne 0x10010e89
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x48]
mov esp, ebp
pop ebp
ret 0xc