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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564438
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0x6c], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42b8b7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x128], eax
jmp 0x42b8c0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
push 0
push dword [ebp - 0x128]
call dword [sym.imp.MSVCR100.dll__waccess]
pop ecx
pop ecx
test eax, eax
je 0x42b9d3
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42b987
lea eax, [ebp - 0x109]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x12c], eax
and dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x88]
call fcn.00406430
mov dword [ebp - 4], 1
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call fcn.0041ba38
pop ecx
pop ecx
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x42b96b
cmp dword [ebp - 0x74], 0x10
jb 0x42b94a
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x130], eax
jmp 0x42b956
lea eax, [ebp - 0x88]
mov dword [ebp - 0x130], eax
push dword [ebp - 0x130]
push str._Launcher__RunProcess_failed__exe_not_exist:_s
push 4
call fcn.0041b5a4
add esp, 0xc
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00406430
or dword [ebp - 4], 0xffffffff
jmp 0x42b9bd
push str._Launcher__RunProcess_failed__exe_not_exist
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42b9a8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
jmp 0x42b9b1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x134], eax
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp + 0x14], 0
je 0x42b9cc
mov eax, dword [ebp + 0x14]
mov dword [eax], 2
xor al, al
jmp 0x42bd58
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x42b9e9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
jmp 0x42b9f2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x68], eax
and dword [ebp - 0x64], 0
push 0x40
push 0
lea eax, [ebp - 0x60]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x64], 0x44
and dword [ebp - 0x1c], 0
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42ba38
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x13c], eax
jmp 0x42ba41
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42bbdc
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42ba9b
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x42ba99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Launcher__RunProcess_CreateProcessW_failed__d_
push 4
call fcn.0041b5a4
add esp, 0xc
jmp 0x42bad1
push str._Launcher__RunProcess_failed__CreateProcessW_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42babc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x140], eax
jmp 0x42bac5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x140], eax
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0xc4], 0x3c
and dword [ebp - 0xc0], 0
and dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0x570b80
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42bb09
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
jmp 0x42bb12
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb0], eax
and dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 1
and dword [ebp - 0xa4], 0
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42bbdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc8], eax
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42bb8e
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x42bb8c
push dword [ebp - 0xc8]
push str._Launcher__RunProcess_ShellExecuteExW_failed__d_
push 4
call fcn.0041b5a4
add esp, 0xc
jmp 0x42bbc4
push str._Launcher__RunProcess_failed__ShellExecuteExW_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42bbaf
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x148], eax
jmp 0x42bbb8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x148], eax
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp + 0x14], 0
je 0x42bbd5
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc8]
mov dword [eax], ecx
xor al, al
jmp 0x42bd58
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42bd14
lea eax, [ebp - 0x115]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 3
push 0
push 0
lea ecx, [ebp - 0x100]
call fcn.00406430
mov dword [ebp - 4], 4
lea eax, [ebp - 0x121]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 5
push 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.00406430
mov byte [ebp - 4], 6
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call fcn.0041ba38
pop ecx
pop ecx
lea eax, [ebp - 0xe4]
push eax
push dword [ebp + 0xc]
call fcn.0041ba38
pop ecx
pop ecx
push 4
call fcn.0041b640
pop ecx
movzx eax, al
test eax, eax
je 0x42bce1
cmp dword [ebp - 0xd0], 0x10
jb 0x42bc94
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x154], eax
jmp 0x42bca0
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0xec], 0x10
jb 0x42bcb7
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x158], eax
jmp 0x42bcc3
lea eax, [ebp - 0x100]
mov dword [ebp - 0x158], eax
push dword [ebp - 0x14]
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push str._Launcher__RunProcess_success__exe_s__cmd_s__pid_u.
push 4
call fcn.0041b5a4
add esp, 0x14
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0xe4]
call fcn.00406430
mov byte [ebp - 4], 4
mov dword [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x100]
call fcn.00406430
or dword [ebp - 4], 0xffffffff
jmp 0x42bd4a
push str._Launcher__RunProcess_success.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42bd35
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x15c], eax
jmp 0x42bd3e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x15c], eax
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp + 0x14], 0
je 0x42bd56
mov eax, dword [ebp + 0x14]
and dword [eax], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x6c]
xor ecx, ebp
call fcn.004610a0
leave
ret