Function at 0x493a40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c840
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x6878
call fcn.004fe1a0
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x682c], eax
xor eax, eax
mov dword [ebp - 0x681c], eax
mov dword [ebp - 0x6820], eax
mov dword [ebp - 0x6824], eax
lea ebx, [eax + 0x20]
mov dword [ebp - 4], eax
cmp esi, eax
je 0x493e2e
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x493ab0
sub eax, edx
sar eax, 1
je 0x493e2e
push 0x44
push 0
lea ecx, [ebp - 0x6888]
push ecx
call fcn.004fd670
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x683c], eax
mov dword [ebp - 0x6838], eax
mov dword [ebp - 0x6834], eax
mov dword [ebp - 0x6830], eax
push 0x800
push eax
lea edx, [ebp - 0x818]
push edx
call fcn.004fd670
add esp, 0xc
push 0x2000
push 0
lea eax, [ebp - 0x2818]
push eax
call fcn.004fd670
add esp, 0xc
push 0x2000
push 0
lea ecx, [ebp - 0x6818]
push ecx
call fcn.004fd670
add esp, 0xc
push 0x2000
push 0
lea edx, [ebp - 0x4818]
push edx
call fcn.004fd670
add esp, 0xc
test edi, edi
je 0x493bf8
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x493b56
sub eax, edx
sar eax, 1
je 0x493bf8
push esi
push 0x400
lea eax, [ebp - 0x818]
push eax
call fcn.004fa94e
add esp, 0xc
push edi
push 0x1000
lea ecx, [ebp - 0x2818]
push ecx
call fcn.004fa94e
add esp, 0xc
mov ecx, 0x54720c
lea edx, [ebp - 0x818]
call fcn.00494ad0
mov ecx, 0x54720c
lea edx, [ebp - 0x818]
call fcn.00494c80
mov ecx, 0x539d98
lea edx, [ebp - 0x2818]
call fcn.00494ad0
mov ecx, 0x539d98
lea edx, [ebp - 0x2818]
call fcn.00494c80
lea edx, [ebp - 0x2818]
push edx
lea eax, [ebp - 0x818]
push eax
push str.__s___s
lea edx, [ebp - 0x6818]
call fcn.00407e30
add esp, 0xc
jmp 0x493c2d
push esi
push 0x1000
lea ecx, [ebp - 0x6818]
push ecx
call fcn.004fa94e
add esp, 0xc
mov ecx, 0x539d98
lea edx, [ebp - 0x6818]
call fcn.00494ad0
mov ecx, 0x539d98
lea edx, [ebp - 0x6818]
call fcn.00494c80
lea edx, [ebp - 0x6818]
push edx
push 0x1000
lea eax, [ebp - 0x4818]
push eax
call fcn.004fa94e
add esp, 0xc
mov ecx, 0x54c608
lea edx, [ebp - 0x4818]
call fcn.00494ad0
mov ecx, 0x54c608
lea edx, [ebp - 0x4818]
call fcn.00494c80
push 0x1000
lea ecx, [ebp - 0x4818]
push ecx
call fcn.004fab8f
push str..EXE
lea edx, [ebp - 0x4818]
push edx
call fcn.004fa7e4
add esp, 0x10
test eax, eax
je 0x493cb8
mov word [eax], 0
push 0x5c
lea eax, [ebp - 0x4818]
push eax
call fcn.004fa6eb
add esp, 8
test eax, eax
je 0x493cb8
mov word [eax], 0
lea esi, [ebp - 0x4818]
jmp 0x493cba
xor esi, esi
call fcn.00493e70
test al, al
je 0x493cda
mov ebx, 0x1000020
push str._RunExecute__CREATE_BREAKAWAY_FROM_JOB_flag_has_been_added
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
lea ecx, [ebp - 0x6818]
push ecx
push str._RunExecute__Command_Line____s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
lea edx, [ebp - 0x683c]
push edx
lea eax, [ebp - 0x6888]
push eax
push esi
push 0
push ebx
push 1
push 0
push 0
lea ecx, [ebp - 0x6818]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x493df9
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x493ded
mov esi, ebx
sub esi, 0xffffffff
neg esi
sbb esi, esi
and esi, 0x65
add esi, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov edx, dword [ebp - 0x683c]
push edx
call edi
test eax, eax
je 0x493d84
mov ecx, 0x102
cmp eax, ecx
jne 0x493df9
cmp dword [ebp - 0x6820], ebx
ja 0x493d6a
cmp ebx, 0xffffffff
jne 0x493d70
mov dword [ebp - 0x681c], ecx
add dword [ebp - 0x6820], 0x64
cmp dword [ebp - 0x681c], ecx
jne 0x493d42
jmp 0x493e05
lea eax, [ebp - 0x6824]
push eax
mov ecx, dword [ebp - 0x683c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x493dd3
mov eax, dword [ebp - 0x682c]
test eax, eax
je 0x493dae
mov edx, dword [ebp - 0x6824]
mov dword [eax], edx
mov eax, dword [ebp - 0x6824]
push eax
push str._RunExecute__Process_Exit_Code___d
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 0x681c], 0
jmp 0x493e05
push str._RunExecute__Get_ExitCode_from_Process_FAIL____
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x649e50
call fcn.004917b0
add esp, 4
mov dword [ebp - 0x681c], 0
jmp 0x493e05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x681c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x681c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret
push str.Fail_____Invalid_Parameter_in_RunExecute____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
mov eax, 0x57
jmp 0x493e12