Function at 0x4a8932
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 0x4a8954
mov dword [esp], 5
call fcn.0048249c
jmp 0x4a8fce
mov eax, dword [0x6b6b4c]
test eax, eax
je 0x4a896e
mov dword [esp], 0x106
call fcn.0048249c
jmp 0x4a8fce
mov eax, dword [0xa663e4]
test eax, eax
jne 0x4a8990
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00483bb6
mov dword [0xa663e4], eax
mov eax, dword [0xa663e8]
test eax, eax
jne 0x4a89b2
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00483bb6
mov dword [0xa663e8], eax
mov eax, dword [0xa663ec]
test eax, eax
jne 0x4a89d4
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00483bb6
mov dword [0xa663ec], eax
mov eax, dword [0xa663f0]
test eax, eax
jne 0x4a89f6
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00483bb6
mov dword [0xa663f0], eax
mov eax, dword [0xa663f4]
test eax, eax
jne 0x4a8a18
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00483bb6
mov dword [0xa663f4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a8a33
mov dword [esp], 5
call fcn.0048249c
jmp 0x4a8fce
call fcn.004a5459
test eax, eax
setne al
test al, al
je 0x4a8e8f
mov eax, dword [0xa663e4]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov dword [esp], 0x56f1a6
call fcn.004839a2
mov edx, eax
mov eax, dword [0xa663e8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov eax, dword [0xa663e4]
mov dword [esp], eax
call fcn.004a556c
test eax, eax
sete al
test al, al
je 0x4a8b3a
mov dword [esp + 4], 1
mov dword [esp], 0x576527
call fcn.00483a33
mov edx, eax
mov eax, dword [0xa663e4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663ec]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa66400
call sub.msvcrt.dll_memset
mov dword [0xa66400], 0x3c
mov eax, dword [0xa663ec]
mov eax, dword [eax]
mov dword [0xa66410], eax
mov dword [0xa66414], 0
mov dword [0xa66404], 0x400
mov dword [0xa6641c], 0
mov dword [esp], 0xa66400
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x4a8fc4
mov dword [0xa6643c], 0
mov dword [0xa66440], 0
jmp 0x4a8c18
mov eax, dword [0xa663e4]
mov edx, dword [eax]
mov eax, dword [0xa6643c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x4a8b87
mov eax, dword [0xa66440]
test eax, eax
jne 0x4a8b7d
mov dword [0xa66440], 1
jmp 0x4a8b87
mov dword [0xa66440], 0
mov eax, dword [0xa663e4]
mov edx, dword [eax]
mov eax, dword [0xa6643c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x4a8c0b
mov eax, dword [0xa66440]
test eax, eax
jne 0x4a8c0b
mov eax, dword [0xa663e4]
mov edx, dword [eax + 4]
mov eax, dword [0xa6643c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa663e4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0048492b
mov edx, eax
mov eax, dword [0xa663e8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov edx, dword [0xa6643c]
mov eax, dword [0xa663e4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00484863
mov edx, eax
mov eax, dword [0xa663e4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
jmp 0x4a8c32
mov eax, dword [0xa6643c]
add eax, 1
mov dword [0xa6643c], eax
mov eax, dword [0xa663e4]
mov edx, dword [eax + 4]
mov eax, dword [0xa6643c]
cmp edx, eax
setg al
test al, al
jne 0x4a8b53
mov eax, dword [0xa663e4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a8fc7
mov eax, dword [0xa663e8]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a8d50
mov eax, dword [0xa663e4]
mov dword [esp], eax
call fcn.004a556c
test eax, eax
sete al
test al, al
je 0x4a8d50
mov dword [esp + 4], 1
mov dword [esp], 0x576527
call fcn.00483a33
mov edx, eax
mov eax, dword [0xa663e4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663ec]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov dword [esp + 4], 1
mov dword [esp], 0x576527
call fcn.00483a33
mov edx, eax
mov eax, dword [0xa663e8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663f0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa66400
call sub.msvcrt.dll_memset
mov dword [0xa66400], 0x3c
mov eax, dword [0xa663ec]
mov eax, dword [eax]
mov dword [0xa66410], eax
mov eax, dword [0xa663f0]
mov eax, dword [eax]
mov dword [0xa66414], eax
mov dword [0xa66404], 0x400
mov dword [0xa6641c], 0
mov dword [esp], 0xa66400
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x4a8fca
mov eax, dword [0xa663e8]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a8d8d
mov ebx, dword [0xa663e8]
mov dword [esp], 0x57659a
call fcn.004839a2
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663e8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov edx, dword [0xa663e8]
mov eax, dword [0xa663e4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663f4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov ebx, dword [0xa663f4]
mov dword [esp], str.__c
call fcn.004839a2
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663f4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov dword [esp + 4], 1
mov dword [esp], 0x576527
call fcn.00483a33
mov edx, eax
mov eax, dword [0xa663f4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663f4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa66400
call sub.msvcrt.dll_memset
mov dword [0xa66400], 0x3c
mov dword [0xa66410], 0x55a918
mov eax, dword [0xa663f4]
mov eax, dword [eax]
mov dword [0xa66414], eax
mov dword [0xa66404], 0x400
mov dword [0xa6641c], 0
mov dword [esp], 0xa66400
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x4a8fce
mov dword [esp], str.command.com__c
call fcn.004839a2
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663f4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov dword [esp + 4], 1
mov dword [esp], 0x576527
call fcn.00483a33
mov edx, eax
mov eax, dword [0xa663f4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004844e1
mov edx, eax
mov eax, dword [0xa663f4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00483d1d
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa66460
call sub.msvcrt.dll_memset
mov dword [0xa66460], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa664a4
call sub.msvcrt.dll_memset
mov eax, dword [0xa663f4]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa664a4
mov dword [esp + 0x20], 0xa66460
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 0x4a8fcd
mov eax, dword [0xa664a4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa664a8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x4a8fce
nop
jmp 0x4a8fce
nop
jmp 0x4a8fce
nop
jmp 0x4a8fce
nop
mov ebx, dword [ebp - 4]
leave
ret