Function at 0x491a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040533c
xor eax, eax
push ebp
push 0x491c8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [ebp - 0x15], 0
xor ebx, ebx
mov byte [ebp - 0x16], 0
xor esi, esi
jmp 0x491a98
mov eax, dword [ebp - 4]
call fcn.00405154
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.004053ec
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00409350
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00404f34
inc esi
cmp dword [ebp - 4], 0
je 0x491ab0
mov eax, dword [ebp - 4]
call fcn.00405154
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x26
je 0x491a6a
sub esi, 1
jb 0x491abf
je 0x491ac5
dec esi
je 0x491acb
dec esi
je 0x491acf
jmp 0x491ad3
mov byte [ebp - 0x15], 1
jmp 0x491ad3
mov byte [ebp - 0x15], 0
jmp 0x491ad3
mov bl, 1
jmp 0x491ad3
mov byte [ebp - 0x16], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00488fb4
test al, al
je 0x491c5d
cmp dword [ebp - 4], 0
jne 0x491c5d
cmp dword [ebp - 0xc], 0
je 0x491b70
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x22
jne 0x491b70
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, 1
call fcn.004053ec
mov edx, dword [ebp - 0xc]
mov eax, 0x491ca8
call fcn.00405490
mov esi, eax
test esi, esi
jne 0x491b30
lea eax, [ebp - 0x10]
call fcn.00404e9c
jmp 0x491bb0
lea eax, [ebp - 0x10]
push eax
lea edx, [esi + 1]
mov ecx, 0x3e7
mov eax, dword [ebp - 0xc]
call fcn.004053ac
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00409350
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.00404f34
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004053ac
jmp 0x491bb0
mov edx, dword [ebp - 0xc]
mov eax, 0x491cb4
call fcn.00405490
mov esi, eax
test esi, esi
jne 0x491b8d
lea eax, [ebp - 0x10]
call fcn.00404e9c
jmp 0x491bb0
lea eax, [ebp - 0x10]
push eax
lea edx, [esi + 1]
mov ecx, 0x3e7
mov eax, dword [ebp - 0xc]
call fcn.004053ac
lea eax, [ebp - 0xc]
mov ecx, 0x3e7
mov edx, esi
call fcn.004053ec
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.004029a4
call fcn.0046f6c8
test al, al
jne 0x491bba
test bl, bl
jne 0x491bf1
cmp byte [ebp - 0x16], 0
jne 0x491bf1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0047314c
cmp eax, 0x20
jb 0x491be4
mov byte [ebp - 5], 1
cmp byte [ebp - 0x15], 0
je 0x491c5d
call fcn.004731e8
jmp 0x491c5d
test bl, bl
je 0x491c29
push 0
mov eax, dword [ebp - 0x14]
call fcn.0040534c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040534c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040534c
push eax
push 0x491cb8
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jb 0x491c5d
mov byte [ebp - 5], 1
jmp 0x491c5d
cmp byte [ebp - 0x16], 0
je 0x491c5d
cmp dword [ebp - 0x10], 0
je 0x491c4d
push dword [ebp - 0xc]
push 0x491cb4
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405214
mov eax, dword [ebp - 0xc]
call fcn.004725e8
test al, al
je 0x491c5d
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491c94
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404ec0
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404ec0
lea eax, [ebp - 4]
call fcn.00404e9c
ret