Function at 0x4d04c6
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 0x4d04e8
mov dword [esp], 5
call fcn.004aa030
jmp 0x4d0b62
mov eax, dword [0x6deb4c]
test eax, eax
je 0x4d0502
mov dword [esp], 0x106
call fcn.004aa030
jmp 0x4d0b62
mov eax, dword [0xa8e904]
test eax, eax
jne 0x4d0524
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8e904], eax
mov eax, dword [0xa8e908]
test eax, eax
jne 0x4d0546
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8e908], eax
mov eax, dword [0xa8e90c]
test eax, eax
jne 0x4d0568
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8e90c], eax
mov eax, dword [0xa8e910]
test eax, eax
jne 0x4d058a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8e910], eax
mov eax, dword [0xa8e914]
test eax, eax
jne 0x4d05ac
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8e914], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4d05c7
mov dword [esp], 5
call fcn.004aa030
jmp 0x4d0b62
call fcn.004ccfed
test eax, eax
setne al
test al, al
je 0x4d0a23
mov eax, dword [0xa8e904]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [esp], 0x5974a6
call fcn.004ab536
mov edx, eax
mov eax, dword [0xa8e908]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov eax, dword [0xa8e904]
mov dword [esp], eax
call fcn.004cd100
test eax, eax
sete al
test al, al
je 0x4d06ce
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8e904]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e90c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa8e920
call sub.msvcrt.dll_memset
mov dword [0xa8e920], 0x3c
mov eax, dword [0xa8e90c]
mov eax, dword [eax]
mov dword [0xa8e930], eax
mov dword [0xa8e934], 0
mov dword [0xa8e924], 0x400
mov dword [0xa8e93c], 0
mov dword [esp], 0xa8e920
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x4d0b58
mov dword [0xa8e95c], 0
mov dword [0xa8e960], 0
jmp 0x4d07ac
mov eax, dword [0xa8e904]
mov edx, dword [eax]
mov eax, dword [0xa8e95c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x4d071b
mov eax, dword [0xa8e960]
test eax, eax
jne 0x4d0711
mov dword [0xa8e960], 1
jmp 0x4d071b
mov dword [0xa8e960], 0
mov eax, dword [0xa8e904]
mov edx, dword [eax]
mov eax, dword [0xa8e95c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x4d079f
mov eax, dword [0xa8e960]
test eax, eax
jne 0x4d079f
mov eax, dword [0xa8e904]
mov edx, dword [eax + 4]
mov eax, dword [0xa8e95c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa8e904]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac4bf
mov edx, eax
mov eax, dword [0xa8e908]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov edx, dword [0xa8e95c]
mov eax, dword [0xa8e904]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac3f7
mov edx, eax
mov eax, dword [0xa8e904]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
jmp 0x4d07c6
mov eax, dword [0xa8e95c]
add eax, 1
mov dword [0xa8e95c], eax
mov eax, dword [0xa8e904]
mov edx, dword [eax + 4]
mov eax, dword [0xa8e95c]
cmp edx, eax
setg al
test al, al
jne 0x4d06e7
mov eax, dword [0xa8e904]
mov eax, dword [eax + 4]
test eax, eax
je 0x4d0b5b
mov eax, dword [0xa8e908]
mov eax, dword [eax + 4]
test eax, eax
je 0x4d08e4
mov eax, dword [0xa8e904]
mov dword [esp], eax
call fcn.004cd100
test eax, eax
sete al
test al, al
je 0x4d08e4
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8e904]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e90c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8e908]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e910]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa8e920
call sub.msvcrt.dll_memset
mov dword [0xa8e920], 0x3c
mov eax, dword [0xa8e90c]
mov eax, dword [eax]
mov dword [0xa8e930], eax
mov eax, dword [0xa8e910]
mov eax, dword [eax]
mov dword [0xa8e934], eax
mov dword [0xa8e924], 0x400
mov dword [0xa8e93c], 0
mov dword [esp], 0xa8e920
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x4d0b5e
mov eax, dword [0xa8e908]
mov eax, dword [eax + 4]
test eax, eax
je 0x4d0921
mov ebx, dword [0xa8e908]
mov dword [esp], 0x59e89a
call fcn.004ab536
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e908]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov edx, dword [0xa8e908]
mov eax, dword [0xa8e904]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e914]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov ebx, dword [0xa8e914]
mov dword [esp], str.__c
call fcn.004ab536
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e914]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8e914]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e914]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa8e920
call sub.msvcrt.dll_memset
mov dword [0xa8e920], 0x3c
mov dword [0xa8e930], 0x582918
mov eax, dword [0xa8e914]
mov eax, dword [eax]
mov dword [0xa8e934], eax
mov dword [0xa8e924], 0x400
mov dword [0xa8e93c], 0
mov dword [esp], 0xa8e920
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x4d0b62
mov dword [esp], str.command.com__c
call fcn.004ab536
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e914]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8e914]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8e914]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa8e980
call sub.msvcrt.dll_memset
mov dword [0xa8e980], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa8e9c4
call sub.msvcrt.dll_memset
mov eax, dword [0xa8e914]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa8e9c4
mov dword [esp + 0x20], 0xa8e980
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 0x4d0b61
mov eax, dword [0xa8e9c4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa8e9c8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x4d0b62
nop
jmp 0x4d0b62
nop
jmp 0x4d0b62
nop
jmp 0x4d0b62
nop
mov ebx, dword [ebp - 4]
leave
ret