Function at 0x10010780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c605f
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x3e4], 0
mov eax, dword [ebp + 0x6c]
and eax, 2
je 0x10010a14
push 0x44
push 0
lea ecx, [ebp - 0x268]
push ecx
call fcn.10195c90
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x398], edx
mov dword [ebp - 0x394], edx
mov dword [ebp - 0x390], edx
mov dword [ebp - 0x38c], edx
mov dword [ebp - 0x268], 0x44
mov dword [ebp - 0x23c], 1
mov ax, word [ebp + 0x68]
mov word [ebp - 0x238], ax
lea ecx, [ebp - 0x398]
push ecx
lea edx, [ebp - 0x268]
push edx
push 0
push 0
mov eax, dword [ebp + 0x70]
push eax
push 0
push 0
push 0
lea ecx, [ebp + 8]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100109ad
push 0x1021c998
push 0
push 1
lea ecx, [ebp - 0x464]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x428], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x424], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x390]
push ecx
push 0
lea ecx, [ebp + 8]
call fcn.100053a0
push eax
push str._tasp::library_CreateProcess__command:_s__pid_lu_tid_lu._n
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x428]
mov dword [edx], eax
mov ecx, dword [ebp - 0x424]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x420]
mov dword [edx + 8], eax
call fcn.10008d70
add esp, 0x1c
mov dword [ebp - 0x3e4], 1
cmp dword [ebp + 0x74], 0
je 0x100108e5
mov ecx, dword [ebp + 0x74]
mov edx, dword [ebp - 0x390]
mov dword [ecx], edx
mov eax, dword [ebp + 0x6c]
and eax, 4
je 0x10010991
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x398]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x21c], 0
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 0x78], 0
je 0x1001092f
mov ecx, dword [ebp + 0x78]
mov edx, dword [ebp - 0x21c]
mov dword [ecx], edx
push 0x1021ca00
push 0
push 1
lea eax, [ebp - 0x4a0]
push eax
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x400], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x3fc], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x3f8], eax
mov ecx, dword [ebp - 0x21c]
push ecx
push str._tasp::library_GetExitCodeProcess_ExitCode_lu._n
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x400]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3fc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x3f8]
mov dword [edx + 8], eax
call fcn.10008d70
add esp, 0x14
mov ecx, dword [ebp - 0x398]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x394]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10010a0f
push 0x1021ca68
push 2
push 3
lea eax, [ebp - 0x4ac]
push eax
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x3f4], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x3f0], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x3ec], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._tasp::library_CreateProcess_err:_lu
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x3f4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3f0]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3ec]
mov dword [ecx + 8], edx
call fcn.10008d70
add esp, 0x14
jmp 0x10010ec6
mov eax, dword [ebp + 0x6c]
and eax, 1
je 0x10010ec6
cmp dword [0x10270368], 0
je 0x10010a32
cmp dword [0x10270374], 0
jne 0x10010a56
mov dword [ebp - 0x41c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10004e60
mov eax, dword [ebp - 0x41c]
jmp 0x10010ee7
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.10005090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x328]
call fcn.10004dd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x388]
call fcn.10004dd0
mov byte [ebp - 4], 3
push 0
push 0x1021c9fc
lea ecx, [ebp - 0x2c8]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10018f00
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 0x3dc], 0xffffffff
cmp dword [ebp - 0x3e0], 0xffffffff
je 0x10010ae0
mov edx, dword [ebp - 0x3e0]
add edx, 1
push edx
push 0x1021ca64
lea ecx, [ebp - 0x2c8]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10018f00
mov dword [ebp - 0x3dc], eax
cmp dword [ebp - 0x3dc], 0xffffffff
je 0x10010bcd
mov eax, dword [ebp - 0x3dc]
sub eax, dword [ebp - 0x3e0]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x3e0]
add ecx, 1
push ecx
lea edx, [ebp - 0x4c4]
push edx
lea ecx, [ebp - 0x2c8]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10018f60
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x408], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x408]
push ecx
lea ecx, [ebp - 0x328]
call fcn.10005270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c4]
call fcn.100385b0
lea ecx, [ebp - 0x2c8]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10018b80
sub eax, dword [ebp - 0x3dc]
sub eax, 1
push eax
mov edx, dword [ebp - 0x3dc]
add edx, 1
push edx
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x2c8]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10018f60
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
mov dword [ebp - 0x40c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x40c]
push edx
lea ecx, [ebp - 0x388]
call fcn.10005270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x47c]
call fcn.100385b0
mov dword [ebp - 0x3d8], 0
push 0x38
push 0
lea eax, [ebp - 0x3d4]
push eax
call fcn.10195c90
add esp, 0xc
mov dword [ebp - 0x3d8], 0x3c
mov ecx, dword [ebp + 0x6c]
and ecx, 4
je 0x10010c08
mov dword [ebp - 0x3e8], 0x40
jmp 0x10010c12
mov dword [ebp - 0x3e8], 0x400
mov edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], str.Open
lea ecx, [ebp - 0x328]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
mov dword [ebp - 0x3c8], eax
lea ecx, [ebp - 0x388]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x3c0], 0
movzx eax, word [ebp + 0x68]
mov dword [ebp - 0x3bc], eax
mov dword [ebp - 0x3b8], 0
lea ecx, [ebp - 0x3d8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10010e37
push 0x1021cb60
push 0
push 1
lea edx, [ebp - 0x494]
push edx
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x448], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x444], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
mov edx, dword [ebp - 0x3bc]
push edx
mov eax, dword [ebp - 0x3d4]
push eax
push 0
lea ecx, [ebp - 0x388]
call fcn.100053a0
push eax
push 0
lea ecx, [ebp - 0x328]
call fcn.100053a0
push eax
push str._tasp::library_ShellExecuteEx__lpFile:_s___lpParameters:_s___fMask:_lu___nShow:_d__pid_lu._n
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x448]
mov dword [ecx], edx
mov eax, dword [ebp - 0x444]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x440]
mov dword [ecx + 8], edx
call fcn.10008d70
add esp, 0x24
mov eax, dword [ebp + 0x6c]
and eax, 4
je 0x10010e2b
lea ecx, [ebp - 0x224]
push ecx
push 4
lea edx, [ebp - 0x39c]
push edx
mov eax, dword [ebp - 0x3a0]
push eax
call dword [0x10270368]
test eax, eax
je 0x10010d7e
cmp dword [0x10270374], 0
je 0x10010d7e
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x39c]
push edx
mov eax, dword [ebp - 0x3a0]
push eax
call dword [0x10270374]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x220], 0
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x3a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 0x78], 0
je 0x10010dbc
mov ecx, dword [ebp + 0x78]
mov edx, dword [ebp - 0x220]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3a0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1021cc38
push 0
push 1
lea ecx, [ebp - 0x458]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x418], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x414], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x410], edx
mov eax, dword [ebp - 0x220]
push eax
push str._tasp::library_ShellExecuteEx:GetExitCodeProcess_ExitCode_lu._n
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x418]
mov dword [ecx], edx
mov eax, dword [ebp - 0x414]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x410]
mov dword [ecx + 8], edx
call fcn.10008d70
add esp, 0x14
mov dword [ebp - 0x3e4], 1
jmp 0x10010e99
push 0x1021cd38
push 2
push 3
lea eax, [ebp - 0x488]
push eax
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x438], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x434], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x430], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._tasp::library_ShellExecuteEx_err:_lu_n
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x438]
mov dword [ecx], edx
mov eax, dword [ebp - 0x434]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x430]
mov dword [ecx + 8], edx
call fcn.10008d70
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x388]
call fcn.10004e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x328]
call fcn.10004e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c8]
call fcn.10004e60
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10004e60
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 0x74