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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4a12c5
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b8
mov eax, dword [ebp - 8]
call fcn.004055b8
xor eax, eax
push ebp
push 0x4a15d9
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0048dd5c
test al, al
jne 0x4a1310
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x4a15a1
lea edx, [ebp - 0x14]
mov al, 1
call fcn.0048f87c
mov eax, dword [ebp - 0x14]
call fcn.004053c8
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 1], 0x5c
je 0x4a1339
lea eax, [ebp - 0x14]
mov edx, 0x4a15f0
call fcn.004053d0
call fcn.0040c8dc
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x1c]
mov eax, 0x4a15fc
call fcn.0040d5e0
push dword [ebp - 0x1c]
mov eax, 0x5f5e100
call fcn.0040347c
lea edx, [ebp - 0x7c]
call fcn.0040a2d8
push dword [ebp - 0x7c]
push 0x4a1618
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405488
lea eax, [ebp - 0x18]
call fcn.004a127c
mov eax, dword [ebp - 0x18]
call fcn.004053c8
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
je 0x4a13a3
lea eax, [ebp - 0x18]
mov edx, 0x4a15f0
call fcn.004053d0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.004053d0
lea eax, [ebp - 0x24]
mov edx, 0x4a1628
call fcn.004051a0
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.00405414
mov eax, dword [ebp - 0x80]
call fcn.0040a888
test al, al
jne 0x4a13e2
lea eax, [ebp - 0x24]
mov edx, 0x4a163c
call fcn.004051a0
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push 0x4a1650
push dword [ebp - 4]
push 0x4a1664
push dword [ebp - 0x18]
push 0x4a1670
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00405488
push 0x4a167c
push dword [ebp - 4]
push 0x4a1690
push dword [ebp - 8]
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.00405488
mov eax, dword [ebp - 0x84]
or ecx, 0xffffffff
xor edx, edx
call fcn.004980a8
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x44
call fcn.0040345c
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 0x81
mov word [ebp - 0x38], 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.004055c8
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x78]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
push 0
mov eax, dword [ebp - 0x78]
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov eax, dword [ebp - 0x78]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x74]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x18]
call fcn.0040a888
test al, al
je 0x4a1574
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4a156a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004053c8
cmp eax, 0x64
jle 0x4a153a
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x61
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405628
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov ecx, 0x4a16a8
call fcn.00405414
push 0x4a167c
push dword [ebp - 4]
push 0x4a16b4
push dword [ebp - 0x10]
lea eax, [ebp - 0x8c]
mov edx, 4
call fcn.00405488
mov eax, dword [ebp - 0x8c]
or ecx, 0xffffffff
xor edx, edx
call fcn.004980a8
mov eax, dword [ebp - 0x18]
call fcn.0040aad4
jmp 0x4a15a1
push 0x4a167c
push dword [ebp - 4]
push 0x4a16c8
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.00405488
mov eax, dword [ebp - 0x90]
or ecx, 0xffffffff
xor edx, edx
call fcn.004980a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a15e0
lea eax, [ebp - 0x90]
mov edx, 6
call fcn.0040512c
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.0040512c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040512c
ret