Function at 0x4c40d4
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4c40dc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c88
xor eax, eax
push ebp
push 0x4c4393
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x44
call fcn.0040338c
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], 0
push 0x4c43ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, 0x4c43b8
mov edx, 0x4c43dc
mov esi, dword [eax]
call dword [esi]
lea eax, [ebp - 8]
push eax
mov edx, dword [ebx]
mov eax, dword [ebp - 0xc]
call fcn.00404ddc
add eax, 2
push eax
mov eax, dword [ebx]
call fcn.00404a98
mov ecx, eax
mov eax, dword [ebx]
pop edx
call fcn.00404cf8
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 8]
call fcn.0040a268
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 8]
call fcn.00404860
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4c43f0
call fcn.00404ddc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404cf8
jmp 0x4c41ba
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a98
mov ecx, eax
dec ecx
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00404cf8
cmp dword [ebp - 8], 0
je 0x4c41d0
mov edx, dword [ebp - 8]
mov eax, 0x4c43fc
call fcn.00404ddc
dec eax
je 0x4c419e
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040aa08
mov esi, eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.0040a890
jmp 0x4c41f8
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x4c43fc
call fcn.00404ae4
mov eax, dword [ebp - 8]
call fcn.00404a98
cmp eax, 4
jl 0x4c41e8
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a98
mov ecx, eax
sub ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404cf8
push dword [ebp - 0x70]
push 0x4c43ac
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, 0x4c43b8
mov edx, 0x4c43dc
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x74]
push dword [ebp - 8]
push 0x4c4408
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404b58
lea edx, [ebp - 0x78]
mov eax, esi
call fcn.0040a890
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x10]
mov ecx, 0x4c4408
call fcn.00404ae4
push 0x4c4418
push dword [ebp - 4]
push 0x4c4430
push 0x4c4440
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.0040a890
push dword [ebp - 0x7c]
push 0x4c4454
push dword [ebp - 0x10]
push 0x4c4470
lea eax, [ebp - 0xc]
mov edx, 8
call fcn.00404b58
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404c98
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [ebp - 0x80]
mov ecx, 0x4c447c
call fcn.00404ae4
mov eax, dword [ebp - 0x80]
call fcn.00404c98
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4c4327
push 0x186a0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4c430a
cmp eax, 0xffffffff
jne 0x4c4315
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x10]
call fcn.00404ae4
mov eax, dword [ebp - 0x84]
call fcn.0040ae10
test al, al
je 0x4c435e
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, ebx
mov ecx, dword [ebp - 0x10]
call fcn.00404ae4
xor esi, esi
jmp 0x4c4368
or esi, 0xffffffff
mov eax, ebx
call fcn.004047c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c439a
lea eax, [ebp - 0x84]
mov edx, 7
call fcn.004047ec
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004047ec
ret