Function at 0x408dac
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 0x40919d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40a0d0]
call fcn.00403b1c
mov esi, eax
mov eax, dword [0x40a114]
cmp dword [eax], 2
jne 0x408fe9
lea edx, [ebp - 0x60]
mov eax, dword [0x40a120]
mov eax, dword [eax]
call fcn.004071dc
mov eax, dword [ebp - 0x60]
mov edx, 0x4091b4
call fcn.00403a10
jne 0x408eeb
mov eax, dword [0x40a118]
cmp byte [eax], 1
jne 0x408e64
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00404cb8
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404cb8
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 0x4091c4
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405664
jmp 0x408f7e
lea eax, [ebp - 4]
push eax
push 0
push 0x4091d4
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.00405664
test al, al
jne 0x408ee4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00404cb8
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404cb8
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 0x4091c4
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405664
jmp 0x408f7e
mov al, 1
jmp 0x408f7e
lea edx, [ebp - 8]
mov eax, dword [0x40a120]
mov eax, dword [eax]
call fcn.00406b1c
cmp al, 1
jne 0x408f18
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.00406a3c
mov edx, dword [ebp - 0x64]
mov eax, dword [0x40a120]
call fcn.004037a4
jmp 0x408f2d
lea eax, [ebp - 0x68]
call fcn.004068d4
mov edx, dword [ebp - 0x68]
mov eax, dword [0x40a120]
call fcn.004037a4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00404cb8
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404cb8
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 0x4091e4
mov eax, dword [0x40a120]
mov eax, dword [eax]
call fcn.00403ac4
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405664
test al, al
jne 0x409123
mov edx, dword [0x40a120]
xor eax, eax
call fcn.00402ae4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00404cb8
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404cb8
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 0x4091e4
mov eax, dword [0x40a120]
mov eax, dword [eax]
call fcn.00403ac4
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405664
jmp 0x409123
mov eax, dword [0x40a114]
cmp dword [eax], 1
jne 0x4090c5
lea eax, [ebp - 0x6c]
call fcn.004068d4
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x40a120]
call fcn.004037a4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00404cb8
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404cb8
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 0x4091e4
mov eax, dword [0x40a120]
mov eax, dword [eax]
call fcn.00403ac4
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405664
test al, al
jne 0x409123
mov edx, dword [0x40a120]
xor eax, eax
call fcn.00402ae4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00404cb8
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404cb8
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 0x4091e4
mov eax, dword [0x40a120]
mov eax, dword [eax]
call fcn.00403ac4
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405664
jmp 0x409123
mov edx, dword [0x40a120]
xor eax, eax
call fcn.00402ae4
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00404cb8
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404cb8
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 0x4091e4
mov eax, dword [0x40a120]
mov eax, dword [eax]
call fcn.00403ac4
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405664
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, dword [0x40a0bc]
cmp byte [eax], 1
jne 0x409182
lea edx, [ebp - 0x70]
xor eax, eax
call fcn.00402ae4
mov edx, dword [ebp - 0x70]
mov eax, dword [0x40b984]
call fcn.00403a10
je 0x409182
push 0x4091e4
push 0x4091e4
push 0
mov eax, dword [0x40b984]
call fcn.00403ac4
mov ecx, eax
mov edx, 0x4091e8
xor eax, eax
call fcn.004060b8
xor eax, eax
call fcn.00408930
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4091a4
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.00403774
ret