Function at 0x40d940
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 0x40dd27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40f1e8]
call fcn.00403c6c
mov esi, eax
mov eax, dword [0x40f22c]
cmp dword [eax], 2
jne 0x40db7d
lea edx, [ebp - 0x60]
mov eax, dword [0x40f238]
mov eax, dword [eax]
call fcn.00406d74
mov eax, dword [ebp - 0x60]
mov edx, 0x40dd3c
call fcn.00403b60
jne 0x40da7f
mov eax, dword [0x40f230]
cmp byte [eax], 1
jne 0x40d9f8
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.004055e4
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.004055e4
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 0x40dd4c
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405fa0
jmp 0x40db12
lea eax, [ebp - 4]
push eax
push 0
push 0x40dd5c
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.00405fa0
test al, al
jne 0x40da78
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.004055e4
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.004055e4
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 0x40dd4c
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405fa0
jmp 0x40db12
mov al, 1
jmp 0x40db12
lea edx, [ebp - 8]
mov eax, dword [0x40f238]
mov eax, dword [eax]
call fcn.00408a78
cmp al, 1
jne 0x40daac
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.00408998
mov edx, dword [ebp - 0x64]
mov eax, dword [0x40f238]
call fcn.004037cc
jmp 0x40dac1
lea eax, [ebp - 0x68]
call fcn.00408830
mov edx, dword [ebp - 0x68]
mov eax, dword [0x40f238]
call fcn.004037cc
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.004055e4
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.004055e4
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 0x40dd6c
mov eax, dword [0x40f238]
mov eax, dword [eax]
call fcn.00403c14
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405fa0
test al, al
jne 0x40dcb7
mov edx, dword [0x40f238]
xor eax, eax
call fcn.00402b08
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.004055e4
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.004055e4
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 0x40dd6c
mov eax, dword [0x40f238]
mov eax, dword [eax]
call fcn.00403c14
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405fa0
jmp 0x40dcb7
mov eax, dword [0x40f22c]
cmp dword [eax], 1
jne 0x40dc59
lea eax, [ebp - 0x6c]
call fcn.00408830
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x40f238]
call fcn.004037cc
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.004055e4
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.004055e4
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 0x40dd6c
mov eax, dword [0x40f238]
mov eax, dword [eax]
call fcn.00403c14
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405fa0
test al, al
jne 0x40dcb7
mov edx, dword [0x40f238]
xor eax, eax
call fcn.00402b08
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.004055e4
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.004055e4
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 0x40dd6c
mov eax, dword [0x40f238]
mov eax, dword [eax]
call fcn.00403c14
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405fa0
jmp 0x40dcb7
mov edx, dword [0x40f238]
xor eax, eax
call fcn.00402b08
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.004055e4
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.004055e4
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 0x40dd6c
mov eax, dword [0x40f238]
mov eax, dword [eax]
call fcn.00403c14
push eax
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00405fa0
mov eax, dword [0x40f1d4]
cmp byte [eax], 1
jne 0x40dd0c
lea edx, [ebp - 0x70]
xor eax, eax
call fcn.00402b08
mov edx, dword [ebp - 0x70]
mov eax, dword [0x4111d0]
call fcn.00403b60
je 0x40dd0c
push 0x40dd6c
push 0x40dd6c
push 0
mov eax, dword [0x4111d0]
call fcn.00403c14
mov ecx, eax
mov edx, 0x40dd70
xor eax, eax
call fcn.00408074
xor eax, eax
call fcn.0040d464
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd2e
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.0040379c
ret