Function at 0x4a014d
Capabilities:
Create process on windows
Execute command

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x5a028c]
test eax, eax
jne 0x4a0a57
mov eax, dword [0x6b0b4c]
test eax, eax
je 0x4a017b
mov dword [esp], 0x106
call fcn.0047b484
jmp 0x4a0a58
mov eax, dword [0x6d0a48]
mov dword [0xa60798], eax
mov eax, dword [0xa60798]
test eax, eax
je 0x4a01b7
mov dword [0x553570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6d0a48]
test eax, eax
setne al
test al, al
jne 0x4a0198
mov dword [0xa6079c], 0
mov eax, dword [0x6b0c88]
test eax, eax
je 0x4a01dd
mov eax, dword [0x5532dc]
test eax, eax
je 0x4a01dd
mov dword [0xa6079c], 1
mov eax, dword [0xa607a0]
test eax, eax
jne 0x4a01ff
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa607a0], eax
mov eax, dword [0xa607a4]
test eax, eax
jne 0x4a0221
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa607a4], eax
mov eax, dword [0xa607a8]
test eax, eax
jne 0x4a0243
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa607a8], eax
mov eax, dword [0xa607ac]
test eax, eax
jne 0x4a0265
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa607ac], eax
mov eax, dword [0xa607b0]
test eax, eax
jne 0x4a0287
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047cb9e
mov dword [0xa607b0], eax
cmp dword [ebp + 0xc], 0
je 0x4a029e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a029e
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x4a09aa
mov eax, dword [0xa6079c]
test eax, eax
je 0x4a030f
mov dword [esp + 4], 1
mov dword [esp], 0x56f9a7
call fcn.0047ca1b
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa607a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [0xa4bd50], 1
mov eax, dword [0xa607a0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa4bd50], 0
jmp 0x4a0a23
call fcn.0049e441
test eax, eax
setne al
test al, al
je 0x4a0843
mov eax, dword [0xa607a4]
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 [0xa607ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov eax, dword [0xa607a4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a0a16
mov eax, dword [0xa607a4]
mov dword [esp], eax
call fcn.0049e554
test eax, eax
sete al
test al, al
je 0x4a0467
mov dword [esp + 4], 1
mov dword [esp], 0x56f9a7
call fcn.0047ca1b
mov edx, eax
mov eax, dword [0xa607a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa607a8]
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], 0xa607c0
call sub.msvcrt.dll_memset
mov dword [0xa607c0], 0x3c
mov eax, dword [0xa607a8]
mov eax, dword [eax]
mov dword [0xa607d0], eax
mov dword [0xa607d4], 0
mov dword [0xa607c4], 0x440
mov dword [0xa607dc], 5
mov dword [esp], 0xa607c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4a0467
mov dword [0xa4bd50], 1
mov eax, dword [0xa607f8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa607f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa4bd50], 0
jmp 0x4a0a23
mov dword [0xa607fc], 0
mov dword [0xa60800], 0
jmp 0x4a0545
mov eax, dword [0xa607a4]
mov edx, dword [eax]
mov eax, dword [0xa607fc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x4a04b4
mov eax, dword [0xa60800]
test eax, eax
jne 0x4a04aa
mov dword [0xa60800], 1
jmp 0x4a04b4
mov dword [0xa60800], 0
mov eax, dword [0xa607a4]
mov edx, dword [eax]
mov eax, dword [0xa607fc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x4a0538
mov eax, dword [0xa60800]
test eax, eax
jne 0x4a0538
mov eax, dword [0xa607a4]
mov edx, dword [eax + 4]
mov eax, dword [0xa607fc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa607a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d913
mov edx, eax
mov eax, dword [0xa607ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov edx, dword [0xa607fc]
mov eax, dword [0xa607a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d84b
mov edx, eax
mov eax, dword [0xa607a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
jmp 0x4a055f
mov eax, dword [0xa607fc]
add eax, 1
mov dword [0xa607fc], eax
mov eax, dword [0xa607a4]
mov edx, dword [eax + 4]
mov eax, dword [0xa607fc]
cmp edx, eax
setg al
test al, al
jne 0x4a0480
mov eax, dword [0xa607a4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a0a19
mov eax, dword [0xa607ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a06be
mov eax, dword [0xa607a4]
mov dword [esp], eax
call fcn.0049e554
test eax, eax
sete al
test al, al
je 0x4a06be
mov dword [esp + 4], 1
mov dword [esp], 0x56f9a7
call fcn.0047ca1b
mov edx, eax
mov eax, dword [0xa607a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa607a8]
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 [0xa607ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa607b0]
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], 0xa607c0
call sub.msvcrt.dll_memset
mov dword [0xa607c0], 0x3c
mov eax, dword [0xa607a8]
mov eax, dword [eax]
mov dword [0xa607d0], eax
mov eax, dword [0xa607b0]
mov eax, dword [eax]
mov dword [0xa607d4], eax
mov dword [0xa607c4], 0x440
mov dword [0xa607dc], 5
mov dword [esp], 0xa607c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4a06be
mov dword [0xa4bd50], 1
mov eax, dword [0xa607f8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa607f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa4bd50], 0
jmp 0x4a0a23
mov eax, dword [0xa607ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a06fb
mov ebx, dword [0xa607ac]
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 [0xa607ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov edx, dword [0xa607ac]
mov eax, dword [0xa607a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa607a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov ebx, dword [0xa607a0]
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 [0xa607a0]
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 [0xa607a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa607a0]
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], 0xa607c0
call sub.msvcrt.dll_memset
mov dword [0xa607c0], 0x3c
mov dword [0xa607d0], 0x553936
mov eax, dword [0xa607a0]
mov eax, dword [eax]
mov dword [0xa607d4], eax
mov dword [0xa607c4], 0x440
mov dword [0xa607dc], 5
mov dword [esp], 0xa607c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4a0a1c
mov dword [0xa4bd50], 1
mov eax, dword [0xa607f8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa607f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa4bd50], 0
jmp 0x4a0a23
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 [0xa607a0]
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 [0xa607a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047d4c9
mov edx, eax
mov eax, dword [0xa607a0]
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], 0xa60820
call sub.msvcrt.dll_memset
mov dword [0xa60820], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa60864
call sub.msvcrt.dll_memset
mov eax, dword [0xa607a0]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa60864
mov dword [esp + 0x20], 0xa60820
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 0x4a0a1f
mov dword [0xa4bd50], 1
mov eax, dword [0xa60864]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [0xa60864]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa60868]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa4bd50], 0
jmp 0x4a0a23
mov eax, dword [0xa6079c]
test eax, eax
jne 0x4a09ba
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x56fd6c
call fcn.0047ca1b
mov edx, eax
mov eax, dword [0xa607a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047cd05
mov dword [0xa4bd50], 1
mov eax, dword [0xa607a0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa4bd50], 0
mov eax, dword [0xa6079c]
test eax, eax
jne 0x4a0a22
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x4a0a22
nop
jmp 0x4a0a23
nop
jmp 0x4a0a23
nop
jmp 0x4a0a23
nop
jmp 0x4a0a23
nop
mov eax, dword [0xa60798]
test eax, eax
je 0x4a0a58
mov eax, dword [0xa60798]
mov dword [0x553570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6d0a48]
test eax, eax
sete al
test al, al
jne 0x4a0a36
jmp 0x4a0a58
nop
mov ebx, dword [ebp - 4]
leave
ret