Function at 0x4a0760
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4a0768
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a09df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004a0354
mov eax, ebx
call fcn.004a00d4
xor eax, eax
push ebp
push 0x4a09ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
lea edx, [ebx + 0x80]
mov ecx, 0x200
call fcn.004055ac
mov edx, dword [ebp - 0xc]
mov eax, 0x4a09f8
call fcn.00405918
test eax, eax
jle 0x4a07e3
mov eax, ebx
call fcn.004a0ea8
lea edx, [ebp - 0x10]
call fcn.00409d7c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 0x4a0a04
call fcn.00405654
jmp 0x4a0802
mov eax, ebx
call fcn.004a0ea8
lea edx, [ebp - 0x14]
call fcn.00409d7c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 0x4a0a14
call fcn.00405654
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x1510]
mov ecx, 0x12d
call fcn.004055ac
cmp dword [ebp - 0x18], 0
je 0x4a08bc
call fcn.0040bb80
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x14c0]
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0048f398
cmp eax, 3
jge 0x4a08bc
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.004033dc
push dword [ebp - 0x1c]
push 0x4a0a24
lea eax, [ebp - 0x20]
mov edx, dword [0x4b9704]
mov ecx, 0x10
call fcn.004055ac
push dword [ebp - 0x20]
push 0x4a0a24
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x1510]
mov ecx, 0x12d
call fcn.004055ac
push dword [ebp - 0x24]
push dword [ebp - 8]
push 0x4a0a24
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x78]
call fcn.00409d7c
push dword [ebp - 0x28]
push 0x4a0a24
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x7c]
call fcn.00409d7c
push dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 0xa
call fcn.004056d0
jmp 0x4a0935
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.004033dc
push dword [ebp - 0x30]
push 0x4a0a24
lea eax, [ebp - 0x34]
mov edx, dword [0x4b9704]
mov ecx, 0x10
call fcn.004055ac
push dword [ebp - 0x34]
push 0x4a0a24
lea eax, [ebp - 0x38]
lea edx, [ebx + 0x80]
mov ecx, 0x200
call fcn.004055ac
push dword [ebp - 0x38]
push dword [ebp - 8]
push 0x4a0a24
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.00409d7c
push dword [ebp - 0x3c]
push 0x4a0a24
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x7c]
call fcn.00409d7c
push dword [ebp - 0x40]
lea eax, [ebp - 4]
mov edx, 0xa
call fcn.004056d0
mov eax, dword [ebp - 4]
call fcn.004057cc
mov esi, eax
push esi
call sub.kernel32.dll_OutputDebugStringA
cmp byte [ebx + 0x14e7], 0
jne 0x4a0956
push 0
push esi
call sub.kernel32.dll_WinExec
call fcn.0040bb80
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0048f37c
mov esi, eax
mov eax, dword [ebx + 0x14c0]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0048f37c
cmp si, ax
je 0x4a0997
call fcn.0040bb80
mov esi, dword [ebx + 0x14c0]
fstp qword [esi + 0x10]
wait
mov dword [esi + 0x18], 1
jmp 0x4a09a9
call fcn.0040bb80
mov esi, dword [ebx + 0x14c0]
fstp qword [esi + 0x10]
wait
inc dword [esi + 0x18]
mov eax, ebx
call fcn.004a1fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a09c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a09e6
lea eax, [ebp - 0x40]
mov edx, 0x10
call fcn.00405360
ret