Function at 0x4c9a34
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4c9a3c
push ebx
push esi
xor eax, eax
push ebp
push 0x4c9cd2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, 0x4c9ce8
call fcn.00404260
mov esi, dword [0x4d21b8]
cmp esi, 6
jg 0x4c9cb7
cmp esi, 3
jne 0x4c9a81
lea eax, [ebp - 0x14]
mov edx, 0x4c9ce8
call fcn.00404260
cmp esi, 4
jne 0x4c9a93
lea eax, [ebp - 0x14]
mov edx, 0x4c9cf4
call fcn.00404260
cmp esi, 5
jne 0x4c9aa5
lea eax, [ebp - 0x14]
mov edx, 0x4c9d00
call fcn.00404260
cmp esi, 6
jne 0x4c9ab7
lea eax, [ebp - 0x14]
mov edx, 0x4c9d0c
call fcn.00404260
cmp esi, 7
jne 0x4c9ac9
lea eax, [ebp - 0x14]
mov edx, 0x4c9d18
call fcn.00404260
mov ebx, esi
mov eax, ebx
call fcn.004091a8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0
push 0x400
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405254
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4c9b05
cmp dword [ebp - 8], 0x200000
jae 0x4c9c0b
jmp 0x4c9b0b
jge 0x4c9c0b
lea eax, [ebp - 0x18]
mov ecx, 0x4c9d24
mov edx, dword [ebp - 0x14]
call fcn.004044d4
mov eax, dword [ebp - 0x18]
call fcn.004cab9c
mov eax, ebx
call fcn.004091a8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0
push 0x400
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405254
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4c9b5d
cmp dword [ebp - 8], 0x200000
jbe 0x4c9cad
jmp 0x4c9b63
jle 0x4c9cad
lea eax, [ebp - 0x14]
call fcn.004ca54c
cmp esi, dword [0x4d21b8]
je 0x4c9bc1
push 5
push 0x4c9d2c
push 0x4c9d2c
lea edx, [ebp - 0x20]
mov eax, dword [0x4cf4b0]
mov eax, dword [eax]
call fcn.0045ace8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409014
lea eax, [ebp - 0x1c]
mov edx, 0x4c9d38
call fcn.00404490
mov eax, dword [ebp - 0x1c]
call fcn.00404688
push eax
push 0
mov eax, dword [0x4cf4b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp esi, 6
jle 0x4c9be4
push 0x4c9d5c
mov ecx, 0x4c9d68
mov edx, 0x4c9d78
mov eax, dword [0x4d219c]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4c9cb7
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.00408970
mov eax, dword [ebp - 0x24]
push eax
mov ecx, 0x4c9d68
mov edx, 0x4c9d78
mov eax, dword [0x4d219c]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4c9cb7
lea eax, [ebp - 0x14]
call fcn.004ca54c
cmp esi, dword [0x4d21b8]
je 0x4c9c69
push 5
push 0x4c9d2c
push 0x4c9d2c
lea edx, [ebp - 0x2c]
mov eax, dword [0x4cf4b0]
mov eax, dword [eax]
call fcn.0045ace8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00409014
lea eax, [ebp - 0x28]
mov edx, 0x4c9d38
call fcn.00404490
mov eax, dword [ebp - 0x28]
call fcn.00404688
push eax
push 0
mov eax, dword [0x4cf4b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp esi, 6
jle 0x4c9c89
push 0x4c9d5c
mov ecx, 0x4c9d68
mov edx, 0x4c9d78
mov eax, dword [0x4d219c]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4c9cb7
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.00408970
mov eax, dword [ebp - 0x30]
push eax
mov ecx, 0x4c9d68
mov edx, 0x4c9d78
mov eax, dword [0x4d219c]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4c9cb7
inc esi
cmp esi, 7
jne 0x4c9a6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9cd9
lea eax, [ebp - 0x30]
mov edx, 8
call fcn.004041ec
ret