Function at 0x4a8b08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x4a8b10
push ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.00405aa8
xor eax, eax
push ebp
push 0x4a8e37
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a8df8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x12], 1
xor eax, eax
call fcn.004a62bc
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00405b14
mov eax, dword [ebp - 0x20]
call fcn.004a83a4
cmp dword [ebp - 4], 0
je 0x4a8b94
push 0x4a8e50
push dword [0x4ad130]
push 0x4a8e50
push dword [0x4ad138]
push dword [0x4ad134]
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.00406078
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4a8bed
cmp word [eax], 0
je 0x4a8bed
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 6
jne 0x4a8bed
push 0x4a8e50
push dword [0x4ad130]
push 0x4a8e50
push dword [0x4ad13c]
push dword [0x4ad134]
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x110]
call fcn.00405c6c
push dword [ebp - 0x78]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00406078
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x2c], 0
je 0x4a8c2f
push 0x4a8e50
push dword [0x4ad130]
push 0x4a8e50
push dword [0x4ad140]
push dword [0x4ad134]
push 0x4a8e60
mov eax, dword [ebp - 0x20]
push dword [eax + 0x24]
push 0x4a8e60
lea eax, [ebp - 0x14]
mov edx, 8
call fcn.00406078
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
call fcn.004a8a84
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
push 0x4a8e50
push dword [0x4ad144]
push 0x4a8e70
push dword [0x4b3334]
push 0x4a8e84
push dword [0x4ad128]
push 0x4a8e50
push dword [0x4ad12c]
push 0x4a8e50
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x34]
call fcn.0040c154
push dword [ebp - 0x7c]
push 0x4a8e98
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x38]
call fcn.0040c154
push dword [ebp - 0x80]
lea eax, [ebp - 0x18]
mov edx, 0xe
call fcn.00406078
cmp dword [ebp - 0xc], 0
je 0x4a8cb9
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00405ed4
cmp dword [ebp - 0x10], 0
je 0x4a8cca
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00405ed4
cmp dword [ebp - 0x14], 0
je 0x4a8cdb
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00405ed4
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x44
call fcn.00403620
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.00405b4c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a8dac
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x9c]
mov eax, 0x4a6a88
call fcn.00408080
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x94], 0x11
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x1c]
call fcn.00405f94
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0x11
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
lea edx, [ebp - 0x98]
mov ecx, 2
mov eax, 0x4a8ea8
call fcn.0040d120
push 0
movzx ecx, word [0x4a8ecc]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0045b2a0
call fcn.004047fc
jmp 0x4a8dff
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4a8dcd
jmp 0x4a8dc1
mov eax, dword [0x4ad514]
mov eax, dword [eax]
call fcn.0048c2ec
push 0x64
push ebx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4a8db5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8dff
mov eax, 1
call fcn.004a62bc
mov eax, dword [0x4ad514]
mov eax, dword [eax]
call fcn.0048bcac
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 0x4a8e3e
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.00405ab8
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00405ab8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00405ab8
ret