Function at 0x4a4810
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4a4819
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 0x4a4e17
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x4a486d
mov eax, ebx
dec eax
sub al, 2
jb case.0x4a487a.0
sub al, 3
je case.0x4a487a.0
sub al, 3
je case.0x4a487a.0
xor eax, eax
mov al, bl
cmp eax, 0xc
ja case.0x4a487a.0
jmp dword [eax*4 + 0x4a4881]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0047a5d4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004051d8
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.0047a5d4
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 0x4a4e28
mov eax, dword [0x4e24d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4a487a.0
push 0x4a4e38
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
push 0x4a4e48
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 [0x4e254c]
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.004a4810
jmp case.0x4a487a.0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0047a5d4
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 [0x4e24d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4a487a.0
push 0x4a4e38
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x4e214c]
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.004a4810
jmp case.0x4a487a.0
cmp dword [ebp - 8], 0
jne 0x4a4a24
lea eax, [ebp - 8]
mov edx, 0x4a4e54
call fcn.004051d8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0047a5d4
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 8]
call fcn.004051d8
xor eax, eax
push ebp
push 0x4a4a5c
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 0x4a4a68
dec bl
je 0x4a4a76
dec bl
je 0x4a4a8a
dec bl
je 0x4a4a9e
jmp 0x4a4ab2
lea eax, [ebp - 0xc]
mov edx, 0x4a4e68
call fcn.004051d8
mov ebx, 3
jmp 0x4a4ac4
lea eax, [ebp - 0xc]
mov edx, 0x4a4e78
call fcn.004051d8
mov ebx, 9
jmp 0x4a4ac4
lea eax, [ebp - 0xc]
mov edx, 0x4a4e78
call fcn.004051d8
mov ebx, 3
jmp 0x4a4ac4
lea eax, [ebp - 0xc]
mov edx, 0x4a4e68
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 [0x4e24d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x4a487a.0
push 0x4a4e38
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [0x4e2568]
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.004a4810
jmp case.0x4a487a.0
cmp dword [ebp - 8], 0
jne 0x4a4b4a
lea eax, [ebp - 8]
mov edx, 0x4a4e88
call fcn.004051d8
jmp 0x4a4b6b
mov edx, dword [ebp - 8]
mov eax, 0x4a4e9c
call fcn.00405754
test eax, eax
jne 0x4a4b6b
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x4a4ea8
call fcn.0040545c
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405610
push eax
push 0x4a4e28
mov eax, dword [0x4e24d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
jmp case.0x4a487a.0
mov al, byte [0x4a4eb0]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x4a4ebc
mov edx, 0x4a4e48
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 0x4a4ec8
push dword [ebp - 8]
push 0x4a4ed8
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 0x4a4e28
mov eax, dword [0x4e24d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
jmp case.0x4a487a.0
mov eax, dword [ebp - 4]
mov edx, dword [0x4b51f0]
call fcn.00404488
test al, al
je 0x4a4cc1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3cc], 0
je 0x4a4cc1
mov al, byte [0x4a4eb0]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x4a4eec
mov edx, 0x4a4ef8
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, 0x4a4e38
call fcn.0040555c
jne 0x4a4c8f
push 0x30
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00443440
mov eax, dword [ebp - 0x58]
call fcn.00405610
push eax
mov eax, dword [ebp - 8]
call fcn.00405610
mov edx, eax
mov eax, dword [0x4e24d8]
mov eax, dword [eax]
pop ecx
call fcn.00463654
jmp case.0x4a487a.0
push 0x40
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00443440
mov eax, dword [ebp - 0x5c]
call fcn.00405610
push eax
mov eax, dword [ebp - 8]
call fcn.00405610
mov edx, eax
mov eax, dword [0x4e24d8]
mov eax, dword [eax]
pop ecx
call fcn.00463654
jmp case.0x4a487a.0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x240]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a4290
jmp case.0x4a487a.0
mov eax, dword [ebp - 4]
mov edx, dword [0x4b51f0]
call fcn.00404488
test al, al
je case.0x4a487a.0
xor edx, edx
push ebp
push 0x4a4d70
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov edx, 0x4a4f04
call fcn.0040555c
jne 0x4a4d2a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
dec eax
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2fc], 0
je 0x4a4d4d
test eax, eax
jne 0x4a4d4d
inc eax
jmp 0x4a4d4d
mov eax, dword [ebp - 8]
mov edx, 0x4a4f14
call fcn.0040555c
jne 0x4a4d45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
inc eax
jmp 0x4a4d4d
mov eax, dword [ebp - 8]
call fcn.00409c30
test eax, eax
jl 0x4a4d66
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x360]
jg 0x4a4d66
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004b786c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4a487a.0
push 0
push 0xf020
push 0x112
mov eax, dword [ebp - 4]
call fcn.00449c60
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4a487a.0
mov eax, dword [ebp - 4]
call fcn.0045fc84
jmp case.0x4a487a.0
mov eax, dword [ebp - 4]
call fcn.0045fc84
xor eax, eax
push ebp
push 0x4a4dd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e224c]
mov eax, dword [eax]
mov al, byte [eax]
call fcn.004a45d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4a487a.0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4e1e
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