Function at 0x4a191a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
and eax, 2
test eax, eax
jne 0x4a193c
mov dword [esp], 5
call fcn.0047b484
jmp 0x4a1fb6
mov eax, dword [0x6b0b4c]
test eax, eax
je 0x4a1956
mov dword [esp], 0x106
call fcn.0047b484
jmp 0x4a1fb6
mov eax, dword [0xa60504]
test eax, eax
jne 0x4a1978
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa60504], eax
mov eax, dword [0xa60508]
test eax, eax
jne 0x4a199a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa60508], eax
mov eax, dword [0xa6050c]
test eax, eax
jne 0x4a19bc
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa6050c], eax
mov eax, dword [0xa60510]
test eax, eax
jne 0x4a19de
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa60510], eax
mov eax, dword [0xa60514]
test eax, eax
jne 0x4a1a00
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa60514], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a1a1b
mov dword [esp], 5
call fcn.0047b484
jmp 0x4a1fb6
call fcn.0049e441
test eax, eax
setne al
test al, al
je 0x4a1e77
mov eax, dword [0xa60504]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [esp], 0x568626
call fcn.0047c98a
mov edx, eax
mov eax, dword [0xa60508]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov eax, dword [0xa60504]
mov dword [esp], eax
call fcn.0049e554
test eax, eax
sete al
test al, al
je 0x4a1b22
mov dword [esp + 4], 1
mov dword [esp], 0x56f9a7
call fcn.0047ca1b
mov edx, eax
mov eax, dword [0xa60504]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa6050c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa60520
call sub.msvcrt.dll_memset
mov dword [0xa60520], 0x3c
mov eax, dword [0xa6050c]
mov eax, dword [eax]
mov dword [0xa60530], eax
mov dword [0xa60534], 0
mov dword [0xa60524], 0x400
mov dword [0xa6053c], 0
mov dword [esp], 0xa60520
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x4a1fac
mov dword [0xa6055c], 0
mov dword [0xa60560], 0
jmp 0x4a1c00
mov eax, dword [0xa60504]
mov edx, dword [eax]
mov eax, dword [0xa6055c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x4a1b6f
mov eax, dword [0xa60560]
test eax, eax
jne 0x4a1b65
mov dword [0xa60560], 1
jmp 0x4a1b6f
mov dword [0xa60560], 0
mov eax, dword [0xa60504]
mov edx, dword [eax]
mov eax, dword [0xa6055c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x4a1bf3
mov eax, dword [0xa60560]
test eax, eax
jne 0x4a1bf3
mov eax, dword [0xa60504]
mov edx, dword [eax + 4]
mov eax, dword [0xa6055c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa60504]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d913
mov edx, eax
mov eax, dword [0xa60508]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov edx, dword [0xa6055c]
mov eax, dword [0xa60504]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d84b
mov edx, eax
mov eax, dword [0xa60504]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
jmp 0x4a1c1a
mov eax, dword [0xa6055c]
add eax, 1
mov dword [0xa6055c], eax
mov eax, dword [0xa60504]
mov edx, dword [eax + 4]
mov eax, dword [0xa6055c]
cmp edx, eax
setg al
test al, al
jne 0x4a1b3b
mov eax, dword [0xa60504]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a1faf
mov eax, dword [0xa60508]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a1d38
mov eax, dword [0xa60504]
mov dword [esp], eax
call fcn.0049e554
test eax, eax
sete al
test al, al
je 0x4a1d38
mov dword [esp + 4], 1
mov dword [esp], 0x56f9a7
call fcn.0047ca1b
mov edx, eax
mov eax, dword [0xa60504]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa6050c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [esp + 4], 1
mov dword [esp], 0x56f9a7
call fcn.0047ca1b
mov edx, eax
mov eax, dword [0xa60508]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa60510]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa60520
call sub.msvcrt.dll_memset
mov dword [0xa60520], 0x3c
mov eax, dword [0xa6050c]
mov eax, dword [eax]
mov dword [0xa60530], eax
mov eax, dword [0xa60510]
mov eax, dword [eax]
mov dword [0xa60534], eax
mov dword [0xa60524], 0x400
mov dword [0xa6053c], 0
mov dword [esp], 0xa60520
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x4a1fb2
mov eax, dword [0xa60508]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a1d75
mov ebx, dword [0xa60508]
mov dword [esp], 0x56fa1a
call fcn.0047c98a
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa60508]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov edx, dword [0xa60508]
mov eax, dword [0xa60504]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa60514]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov ebx, dword [0xa60514]
mov dword [esp], str.__c
call fcn.0047c98a
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa60514]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [esp + 4], 1
mov dword [esp], 0x56f9a7
call fcn.0047ca1b
mov edx, eax
mov eax, dword [0xa60514]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa60514]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa60520
call sub.msvcrt.dll_memset
mov dword [0xa60520], 0x3c
mov dword [0xa60530], 0x553918
mov eax, dword [0xa60514]
mov eax, dword [eax]
mov dword [0xa60534], eax
mov dword [0xa60524], 0x400
mov dword [0xa6053c], 0
mov dword [esp], 0xa60520
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x4a1fb6
mov dword [esp], str.command.com__c
call fcn.0047c98a
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa60514]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [esp + 4], 1
mov dword [esp], 0x56f9a7
call fcn.0047ca1b
mov edx, eax
mov eax, dword [0xa60514]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa60514]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa60580
call sub.msvcrt.dll_memset
mov dword [0xa60580], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa605c4
call sub.msvcrt.dll_memset
mov eax, dword [0xa60514]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa605c4
mov dword [esp + 0x20], 0xa60580
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x4a1fb5
mov eax, dword [0xa605c4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa605c8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x4a1fb6
nop
jmp 0x4a1fb6
nop
jmp 0x4a1fb6
nop
jmp 0x4a1fb6
nop
mov ebx, dword [ebp - 4]
leave
ret