Function at 0x10010bb0
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 0x10010c25
push 0x66
push 0x10036bdc
call fcn.10010740
add esp, 8
push eax
push 0x10036bec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10002580
add esp, 0xc
jmp 0x10010e16
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.10010800
test eax, eax
je 0x10010d63
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.100336e0
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10010cc6
push 0x77
push 0x10036bf8
call fcn.10010740
add esp, 8
push eax
push str.HELP::CreateSpawnProcess_pPath__hStdOut__hStdIn_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10002580
add esp, 0xc
jmp 0x10010e16
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 0x10010d5e
xor ecx, ecx
cmp dword [ebp - 0x50], 0xffffffff
setne cl
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x10010d1b
push 0x7b
push 0x10036c3c
call fcn.10010740
add esp, 8
push eax
push str.hStdOut_INVALID_HANDLE_VALUE
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10002580
add esp, 0xc
jmp 0x10010e16
mov edx, dword [ebp - 0x50]
push edx
call fcn.10033560
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10010d5e
push 0x7c
push 0x10036c6c
call fcn.10010740
add esp, 8
push eax
push str.HELP::WaitSpawnResult_hStdOut_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10002580
add esp, 0xc
jmp 0x10010e16
jmp 0x10010e16
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10010da1
push 0x81
push 0x10036c9c
call fcn.10010740
add esp, 8
push eax
push str.ShellExecuteEx_sei_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10002580
add esp, 0xc
jmp 0x10010e16
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 0x10010e16
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 0x10010e16
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 0x10010e16
push 0x8a
push 0x10036cc4
call fcn.10010740
add esp, 8
push eax
push str.dwExitCode0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10002580
add esp, 0xc
cmp dword [ebp - 8], 0xffffffff
je 0x10010e2d
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 0x10010e39
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x48]
mov esp, ebp
pop ebp
ret 0xc