Function at 0x48bfd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x48bfd8
push ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.00404df4
xor eax, eax
push ebp
push 0x48c2f1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48c2b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x12], 1
xor eax, eax
call fcn.00489e44
lea eax, [ebp - 0xc]
call fcn.00404940
mov eax, dword [ebp - 0x20]
call fcn.0048b850
cmp dword [ebp - 4], 0
je 0x48c05a
push 0x48c308
push dword [0x490cd0]
push 0x48c308
push dword [0x490cd8]
push dword [0x490cd4]
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.00404cc4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xac]
test eax, eax
je 0x48c0b2
cmp byte [eax], 0
je 0x48c0b2
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x38], 6
jne 0x48c0b2
push 0x48c308
push dword [0x490cd0]
push 0x48c308
push dword [0x490cdc]
push dword [0x490cd4]
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0xac]
call fcn.00404b38
push dword [ebp - 0x78]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404cc4
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x2c], 0
je 0x48c0f4
push 0x48c308
push dword [0x490cd0]
push 0x48c308
push dword [0x490ce0]
push dword [0x490cd4]
push 0x48c314
mov eax, dword [ebp - 0x20]
push dword [eax + 0x24]
push 0x48c314
lea eax, [ebp - 0x14]
mov edx, 8
call fcn.00404cc4
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
call fcn.0048bf50
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
push 0x48c308
push dword [0x490cc4]
push 0x48c308
push dword [0x490cc8]
push 0x48c308
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
call fcn.004091c8
push dword [ebp - 0x7c]
push 0x48c308
push dword [0x490ccc]
push 0x48c308
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x34]
call fcn.004091c8
push dword [ebp - 0x80]
lea eax, [ebp - 0x18]
mov edx, 0xc
call fcn.00404cc4
cmp dword [ebp - 0xc], 0
je 0x48c173
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00408b40
cmp dword [ebp - 0x10], 0
je 0x48c184
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00408b40
cmp dword [ebp - 0x14], 0
je 0x48c195
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00408b40
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x44
call fcn.0040342c
mov dword [ebp - 0x74], 0x44
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404e04
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x48c266
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x9c]
mov eax, 0x48a54c
call fcn.0040686c
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0xb
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x1c]
call fcn.00404c50
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0xb
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
lea edx, [ebp - 0x98]
mov ecx, 2
mov eax, 0x48c320
call fcn.00409ff4
push 0
movzx ecx, word [0x48c334]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0043c450
call fcn.00404410
jmp 0x48c2b9
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x48c287
jmp 0x48c27b
mov eax, dword [0x491058]
mov eax, dword [eax]
call fcn.00467914
push 0x64
push ebx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x48c26f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c2b9
mov eax, 1
call fcn.00489e44
mov eax, dword [0x491058]
mov eax, dword [eax]
call fcn.004673a4
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x12], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c2f8
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.00404964
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00404964
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404964
ret