Function at 0x40b398
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
xor eax, eax
push ebp
push 0x40b782
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40d1cc]
call fcn.00401f9c
mov esi, eax
mov eax, dword [0x40d210]
cmp dword [eax], 2
jne 0x40b5d5
lea edx, [ebp - 0x60]
mov eax, dword [0x40d21c]
mov eax, dword [eax]
call fcn.004047b4
mov eax, dword [ebp - 0x60]
mov edx, 0x40b798
call fcn.00401e94
jne 0x40b4d7
mov eax, dword [0x40d214]
cmp byte [eax], 1
jne 0x40b450
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00403728
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00403728
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0x40b7a8
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.004040e4
jmp 0x40b56a
lea eax, [ebp - 4]
push eax
push 0
push 0x40b7b8
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 4]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
mov edx, esi
mov eax, ebx
call fcn.004040e4
test al, al
jne 0x40b4d0
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00403728
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00403728
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0x40b7a8
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.004040e4
jmp 0x40b56a
mov al, 1
jmp 0x40b56a
lea edx, [ebp - 8]
mov eax, dword [0x40d21c]
mov eax, dword [eax]
call fcn.004064d0
cmp al, 1
jne 0x40b504
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.004063f0
mov edx, dword [ebp - 0x64]
mov eax, dword [0x40d21c]
call fcn.00401b14
jmp 0x40b519
lea eax, [ebp - 0x68]
call fcn.00406288
mov edx, dword [ebp - 0x68]
mov eax, dword [0x40d21c]
call fcn.00401b14
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00403728
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00403728
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0x40b7c8
mov eax, dword [0x40d21c]
mov eax, dword [eax]
call fcn.00401f48
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.004040e4
test al, al
jne 0x40b767
mov edx, dword [0x40d21c]
xor eax, eax
call fcn.004013a4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00403728
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00403728
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0x40b7c8
mov eax, dword [0x40d21c]
mov eax, dword [eax]
call fcn.00401f48
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.004040e4
jmp 0x40b767
mov eax, dword [0x40d210]
cmp dword [eax], 1
jne 0x40b6b4
lea eax, [ebp - 0x6c]
call fcn.00406288
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x40d21c]
call fcn.00401b14
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00403728
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00403728
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0x40b7c8
mov eax, dword [0x40d21c]
mov eax, dword [eax]
call fcn.00401f48
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.004040e4
test al, al
jne 0x40b767
mov edx, dword [0x40d21c]
xor eax, eax
call fcn.004013a4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00403728
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00403728
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0x40b7c8
mov eax, dword [0x40d21c]
mov eax, dword [eax]
call fcn.00401f48
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.004040e4
jmp 0x40b767
mov eax, dword [0x40d1b8]
cmp byte [eax], 1
jne 0x40b709
lea edx, [ebp - 0x70]
xor eax, eax
call fcn.004013a4
mov edx, dword [ebp - 0x70]
mov eax, dword [0x40f1ec]
call fcn.00401e94
je 0x40b709
push 0x40b7c8
push 0x40b7c8
push 0
mov eax, dword [0x40f1ec]
call fcn.00401f48
mov ecx, eax
mov edx, 0x40b7cc
xor eax, eax
call fcn.00405acc
xor eax, eax
call fcn.0040aebc
push 0
call sub.kernel32.dll_ExitProcess_1
mov edx, dword [0x40d21c]
xor eax, eax
call fcn.004013a4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00403728
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00403728
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0x40b7c8
mov eax, dword [0x40d21c]
mov eax, dword [eax]
call fcn.00401f48
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.004040e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b789
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.00401ae4
ret