Function at 0x409830
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a03f
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x58d224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x458], 0x44
push 0x40
push 0
lea eax, [ebp - 0x454]
push eax
call fcn.0050eb70
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x428], cx
xor edx, edx
mov dword [ebp - 0x468], edx
mov dword [ebp - 0x464], edx
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x45c], edx
push 0x400
push 0
lea eax, [ebp - 0x410]
push eax
call fcn.0050eb70
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.0040ba90
push eax
lea ecx, [ebp + 0x10]
call fcn.0040ba90
push eax
push str.__pipename_s___silent__auto_start___install_path___s_
lea ecx, [ebp - 0x410]
push ecx
call fcn.004074c0
add esp, 0x10
lea edx, [ebp - 0x468]
push edx
lea eax, [ebp - 0x458]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040ba90
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
jne 0x409ada
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x530]
push edx
call fcn.0040c790
add esp, 8
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x47c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x47c]
push ecx
push str._error:_is
lea edx, [ebp - 0x410]
push edx
push str._params_is
mov eax, dword [ebp + 8]
push eax
push str.CreateProcess_failed__command_line_is
lea ecx, [ebp - 0x518]
push ecx
call fcn.00405820
add esp, 0xc
mov dword [ebp - 0x480], eax
mov edx, dword [ebp - 0x480]
mov dword [ebp - 0x484], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x484]
push eax
lea ecx, [ebp - 0x500]
push ecx
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x488], eax
mov edx, dword [ebp - 0x488]
mov dword [ebp - 0x48c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x4e8]
push ecx
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x490], eax
mov edx, dword [ebp - 0x490]
mov dword [ebp - 0x494], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x494]
push eax
lea ecx, [ebp - 0x4d0]
push ecx
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x498], eax
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x49c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x4b8]
push ecx
call fcn.004056f0
add esp, 0xc
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x4a0]
call fcn.0040ba90
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x4b8]
call fcn.00407de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4d0]
call fcn.00407de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e8]
call fcn.00407de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00407de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.00407de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x530]
call fcn.00407de0
cmp dword [ebp - 0x470], 0
je 0x409aad
mov byte [ebp - 0x469], 1
jmp 0x409ab4
mov byte [ebp - 0x469], 0
mov dl, byte [ebp - 0x469]
mov byte [ebp - 0x46a], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407de0
mov al, byte [ebp - 0x46a]
jmp 0x409b61
push 0xffffffffffffffff
mov eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x414], 0
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x468]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x414], 0
jne 0x409b36
mov dword [ebp - 0x474], 1
jmp 0x409b40
mov dword [ebp - 0x474], 0
mov dl, byte [ebp - 0x474]
mov byte [ebp - 0x46b], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407de0
mov al, byte [ebp - 0x46b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4e68
mov esp, ebp
pop ebp
ret