Function at 0x1000e560
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ff2f
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x101f7210]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test al, 2
je 0x1000e74e
push 0x44
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.10150100
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3a0]
add esp, 0xc
mov word [ebp - 0x23c], ax
cmp dword [ebp + 0x30], 8
lea eax, [ebp + 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0x44
cmovae eax, dword [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x240], 1
push ecx
push edi
push edi
push dword [ebp + 0x10]
movdqu xmmword [ebp - 0x3a0], xmm0
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000e709
push dword [ebp - 0x394]
mov dword [ebp - 0x3bc], 0x101ce7f0
push dword [ebp - 0x398]
mov dword [ebp - 0x3b8], edi
push ecx
lea ecx, [ebp + 0x1c]
call fcn.10002930
movq xmm0, qword [ebp - 0x3bc]
push eax
push str._tasp::library_CreateProcess__command:_s__pid_lu_tid_lu._n
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.10005540
mov ecx, dword [ebp - 0x220]
add esp, 0x1c
mov edi, 1
test ecx, ecx
je 0x1000e67b
mov eax, dword [ebp - 0x398]
mov dword [ecx], eax
test byte [ebp + 0xc], 4
je 0x1000e6ee
push 0xffffffffffffffff
push dword [ebp - 0x3a0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push dword [ebp - 0x3a0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x220]
test esi, esi
je 0x1000e6b8
mov dword [esi], eax
push eax
push str._tasp::library_GetExitCodeProcess_ExitCode_lu._n
sub esp, 0xc
mov dword [ebp - 0x3bc], 0x101ce858
mov eax, esp
mov dword [ebp - 0x3b8], 0
movq xmm0, qword [ebp - 0x3bc]
movq qword [eax], xmm0
mov dword [eax + 8], edi
call fcn.10005540
add esp, 0x14
push dword [ebp - 0x3a0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x39c]
call esi
jmp 0x1000ead3
mov dword [ebp - 0x3bc], 0x101ce8e8
mov dword [ebp - 0x3b8], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [ebp - 0x3bc]
push eax
push str._tasp::library_CreateProcess_err:_lu
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 3
call fcn.10005540
add esp, 0x14
jmp 0x1000ead3
test al, 1
je 0x1000ead3
cmp dword [0x102036f0], edi
je 0x1000ead1
cmp dword [0x102036fc], edi
je 0x1000ead1
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x38c]
call fcn.100026c0
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 1
call fcn.10002440
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 2
call fcn.10002440
push 0
push 0x101cd3c8
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 3
call fcn.100126f0
mov dword [ebp - 0x220], eax
cmp eax, 0xffffffff
je 0x1000e87b
inc eax
lea ecx, [ebp - 0x38c]
push eax
push 0x101cd3c8
mov dword [ebp - 0x224], eax
call fcn.100126f0
mov dword [ebp - 0x390], eax
cmp eax, 0xffffffff
je 0x1000e87b
sub eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x38c]
dec eax
push eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x3a8]
push eax
call fcn.10012740
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x1000e81f
push 0xffffffffffffffff
push 0
push eax
call fcn.1001e2d0
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 3
call fcn.1001e7a0
mov eax, dword [ebp - 0x37c]
mov ecx, dword [ebp - 0x390]
sub eax, ecx
dec eax
push eax
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x38c]
call fcn.10012740
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 5
cmp ecx, eax
je 0x1000e86c
push 0xffffffffffffffff
push 0
push eax
call fcn.1001e2d0
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 3
call fcn.1001e7a0
push 0x38
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.10150100
add esp, 0xc
mov dword [ebp - 0x264], 0x3c
and dword [ebp + 0xc], 4
mov ecx, 0x40
mov eax, 0x400
mov dword [ebp - 0x25c], 0
cmovne eax, ecx
mov dword [ebp - 0x258], str.Open
cmp dword [ebp - 0x318], 8
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x32c]
cmovae eax, dword [ebp - 0x32c]
cmp dword [ebp - 0x2b8], 8
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x2cc]
cmovae eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x244], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1000ea6e
push dword [ebp - 0x22c]
mov dword [ebp - 0x3bc], 0x101ce958
mov dword [ebp - 0x3b8], 0
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push dword [ebp - 0x248]
push dword [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x2cc]
call fcn.10002930
push eax
push ecx
lea ecx, [ebp - 0x32c]
call fcn.10002930
movq xmm0, qword [ebp - 0x3bc]
push eax
push str._tasp::library_ShellExecuteEx__lpFile:_s___lpParameters:_s___fMask:_lu___nShow:_d__pid_lu._n
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.10005540
add esp, 0x24
cmp dword [ebp + 0xc], 0
je 0x1000ea67
lea eax, [ebp - 0x224]
push eax
push 4
lea eax, [ebp - 0x390]
push eax
push dword [ebp - 0x22c]
call dword [0x102036f0]
test eax, eax
je 0x1000e9e5
mov eax, dword [0x102036fc]
test eax, eax
je 0x1000e9e5
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x390]
push dword [ebp - 0x22c]
call eax
push 0xffffffffffffffff
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x1000ea1c
mov eax, dword [ebp - 0x220]
mov dword [esi], eax
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x220]
mov dword [ebp - 0x3bc], 0x101cea00
push str._tasp::library_ShellExecuteEx:GetExitCodeProcess_ExitCode_lu._n
sub esp, 0xc
mov dword [ebp - 0x3b8], 0
movq xmm0, qword [ebp - 0x3bc]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.10005540
add esp, 0x14
mov edi, 1
jmp 0x1000eaae
mov dword [ebp - 0x3bc], 0x101cea90
mov dword [ebp - 0x3b8], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [ebp - 0x3bc]
push eax
push str._tasp::library_ShellExecuteEx_err:_lu_n
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 3
call fcn.10005540
add esp, 0x14
lea ecx, [ebp - 0x2cc]
call fcn.100024d0
lea ecx, [ebp - 0x32c]
call fcn.100024d0
lea ecx, [ebp - 0x38c]
call fcn.100024d0
jmp 0x1000ead3
xor edi, edi
lea ecx, [ebp + 0x1c]
call fcn.100024d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1014aad2
mov esp, ebp
pop ebp
ret 0x74