Function at 0x4a946c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4a9475
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405738
xor eax, eax
push ebp
push 0x4a97f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
push ebp
push 0x4a97c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x8c]
mov ecx, 4
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.0040a0f8
mov eax, dword [ebp - 0x84]
mov edx, 0x4a980c
call fcn.00405694
je 0x4a9643
lea eax, [ebp - 0x94]
push eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0x98]
mov ecx, 3
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.0040a0f8
mov eax, dword [ebp - 0x90]
mov edx, 0x4a981c
call fcn.00405694
je 0x4a9643
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0xa4]
mov ecx, 4
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.0040a0f8
mov eax, dword [ebp - 0x9c]
mov edx, 0x4a9828
call fcn.00405694
je 0x4a9643
lea eax, [ebp - 0xac]
push eax
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0xb0]
mov ecx, 2
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.0040a0f8
mov eax, dword [ebp - 0xa8]
mov edx, 0x4a9838
call fcn.00405694
je 0x4a9643
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
call fcn.0040a348
mov eax, dword [ebp - 0xbc]
mov ecx, 2
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.0040a0f8
mov eax, dword [ebp - 0xb4]
mov edx, 0x4a9844
call fcn.00405694
jne 0x4a966e
lea edx, [ebp - 0xc0]
mov eax, 0x4a9850
call fcn.00411494
push dword [ebp - 0xc0]
push 0x4a9860
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405608
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a96b3
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc4]
call fcn.00405548
inc eax
add dword [ebp - 0x1c], eax
inc dword [ebp - 0x20]
dec dword [ebp - 0x28]
jne 0x4a968b
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
call fcn.00402808
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a9726
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xc8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x18]
call fcn.0040b4d0
lea ecx, [ebp - 0xcc]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xcc]
call fcn.00405548
inc eax
add dword [ebp - 0x18], eax
inc dword [ebp - 0x20]
dec dword [ebp - 0x28]
jne 0x4a96df
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403450
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
cmp byte [ebp - 5], 0
je 0x4a9756
or dword [ebp - 0x40], 0x80
mov word [ebp - 0x3c], 8
cmp byte [ebp - 5], 0
je 0x4a9768
mov word [ebp - 0x3c], 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405748
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
jne 0x4a97a6
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x4a97ab
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.00402828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a97ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a97f7
lea eax, [ebp - 0xcc]
mov edx, 0x13
call fcn.0040529c
lea eax, [ebp - 4]
call fcn.00405278
ret