Function at 0x4a1788
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4a1791
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405600
mov eax, dword [ebp + 8]
call fcn.00405600
xor eax, eax
push ebp
push 0x4a1d8f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x4a17e5
mov eax, ebx
dec eax
sub al, 2
jb case.0x4a17f2.0
sub al, 3
je case.0x4a17f2.0
sub al, 3
je case.0x4a17f2.0
xor eax, eax
mov al, bl
cmp eax, 0xc
ja case.0x4a17f2.0
jmp dword [eax*4 + 0x4a17f9]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0047754c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004051d8
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.0047754c
mov edx, dword [ebp - 0x14]
lea eax, [ebp + 8]
call fcn.004051d8
push 1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0040a294
mov eax, dword [ebp - 0x18]
call fcn.00405610
push eax
mov eax, dword [ebp + 8]
call fcn.00405610
push eax
mov eax, dword [ebp - 8]
call fcn.00405610
push eax
push 0x4a1da0
mov eax, dword [0x4de4b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4a17f2.0
push 0x4a1db0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
push 0x4a1dc0
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004054d0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004097fc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [0x4de528]
call fcn.004071a8
mov eax, dword [ebp - 0x30]
xor ecx, ecx
pop edx
call fcn.0040ab50
mov ecx, dword [ebp - 0x1c]
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004a1788
jmp case.0x4a17f2.0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0047754c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.004051d8
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405610
push eax
push 0
mov eax, dword [0x4de4b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4a17f2.0
push 0x4a1db0
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x4de130]
call fcn.004071a8
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040ab50
mov ecx, dword [ebp - 0x38]
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004a1788
jmp case.0x4a17f2.0
cmp dword [ebp - 8], 0
jne 0x4a199c
lea eax, [ebp - 8]
mov edx, 0x4a1dcc
call fcn.004051d8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0047754c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 8]
call fcn.004051d8
xor eax, eax
push ebp
push 0x4a19d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00409c30
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a19e0
dec bl
je 0x4a19ee
dec bl
je 0x4a1a02
dec bl
je 0x4a1a16
jmp 0x4a1a2a
lea eax, [ebp - 0xc]
mov edx, 0x4a1de0
call fcn.004051d8
mov ebx, 3
jmp 0x4a1a3c
lea eax, [ebp - 0xc]
mov edx, 0x4a1df0
call fcn.004051d8
mov ebx, 9
jmp 0x4a1a3c
lea eax, [ebp - 0xc]
mov edx, 0x4a1df0
call fcn.004051d8
mov ebx, 3
jmp 0x4a1a3c
lea eax, [ebp - 0xc]
mov edx, 0x4a1de0
call fcn.004051d8
mov ebx, 9
push ebx
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405610
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405610
push eax
mov eax, dword [0x4de4b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4a17f2.0
push 0x4a1db0
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [0x4de544]
call fcn.004071a8
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040ab50
mov ecx, dword [ebp - 0x44]
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004a1788
jmp case.0x4a17f2.0
cmp dword [ebp - 8], 0
jne 0x4a1ac2
lea eax, [ebp - 8]
mov edx, 0x4a1e00
call fcn.004051d8
jmp 0x4a1ae3
mov edx, dword [ebp - 8]
mov eax, 0x4a1e14
call fcn.00405754
test eax, eax
jne 0x4a1ae3
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x4a1e20
call fcn.0040545c
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405610
push eax
push 0x4a1da0
mov eax, dword [0x4de4b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
jmp case.0x4a17f2.0
mov al, byte [0x4a1e28]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x4a1e34
mov edx, 0x4a1dc0
mov eax, dword [ebp + 8]
call fcn.0040ea30
mov edx, dword [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004051d8
push 1
push 0
push 0
push 0x4a1e40
push dword [ebp - 8]
push 0x4a1e50
push dword [ebp + 8]
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.004054d0
mov eax, dword [ebp - 0x50]
call fcn.00405610
push eax
push 0x4a1da0
mov eax, dword [0x4de4b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
jmp case.0x4a17f2.0
mov eax, dword [ebp - 4]
mov edx, dword [0x4b1fa8]
call fcn.00404488
test al, al
je 0x4a1c39
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3cc], 0
je 0x4a1c39
mov al, byte [0x4a1e28]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x4a1e64
mov edx, 0x4a1e70
mov eax, dword [ebp - 8]
call fcn.0040ea30
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 8]
call fcn.004051d8
mov eax, dword [ebp + 8]
mov edx, 0x4a1db0
call fcn.0040555c
jne 0x4a1c07
push 0x30
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00440908
mov eax, dword [ebp - 0x58]
call fcn.00405610
push eax
mov eax, dword [ebp - 8]
call fcn.00405610
mov edx, eax
mov eax, dword [0x4de4b4]
mov eax, dword [eax]
pop ecx
call fcn.00460620
jmp case.0x4a17f2.0
push 0x40
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00440908
mov eax, dword [ebp - 0x5c]
call fcn.00405610
push eax
mov eax, dword [ebp - 8]
call fcn.00405610
mov edx, eax
mov eax, dword [0x4de4b4]
mov eax, dword [eax]
pop ecx
call fcn.00460620
jmp case.0x4a17f2.0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x240]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a1208
jmp case.0x4a17f2.0
mov eax, dword [ebp - 4]
mov edx, dword [0x4b1fa8]
call fcn.00404488
test al, al
je case.0x4a17f2.0
xor edx, edx
push ebp
push 0x4a1ce8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov edx, 0x4a1e7c
call fcn.0040555c
jne 0x4a1ca2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
dec eax
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2fc], 0
je 0x4a1cc5
test eax, eax
jne 0x4a1cc5
inc eax
jmp 0x4a1cc5
mov eax, dword [ebp - 8]
mov edx, 0x4a1e8c
call fcn.0040555c
jne 0x4a1cbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
inc eax
jmp 0x4a1cc5
mov eax, dword [ebp - 8]
call fcn.00409c30
test eax, eax
jl 0x4a1cde
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x360]
jg 0x4a1cde
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004b4620
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4a17f2.0
push 0
push 0xf020
push 0x112
mov eax, dword [ebp - 4]
call fcn.00447128
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4a17f2.0
mov eax, dword [ebp - 4]
call fcn.0045cc50
jmp case.0x4a17f2.0
mov eax, dword [ebp - 4]
call fcn.0045cc50
xor eax, eax
push ebp
push 0x4a1d48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4de22c]
mov eax, dword [eax]
mov al, byte [eax]
call fcn.004a1548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4a17f2.0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1d96
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00405164
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.00405164
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00405164
lea eax, [ebp + 8]
call fcn.00405140
ret