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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x5ce28c]
test eax, eax
jne 0x4cf603
mov eax, dword [0x6deb4c]
test eax, eax
je 0x4ced27
mov dword [esp], 0x106
call fcn.004aa030
jmp 0x4cf604
mov eax, dword [0x6fee48]
mov dword [0xa8eb98], eax
mov eax, dword [0xa8eb98]
test eax, eax
je 0x4ced63
mov dword [0x582570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6fee48]
test eax, eax
setne al
test al, al
jne 0x4ced44
mov dword [0xa8eb9c], 0
mov eax, dword [0x6ded9c]
test eax, eax
je 0x4ced89
mov eax, dword [0x5822dc]
test eax, eax
je 0x4ced89
mov dword [0xa8eb9c], 1
mov eax, dword [0xa8eba0]
test eax, eax
jne 0x4cedab
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8eba0], eax
mov eax, dword [0xa8eba4]
test eax, eax
jne 0x4cedcd
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8eba4], eax
mov eax, dword [0xa8eba8]
test eax, eax
jne 0x4cedef
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8eba8], eax
mov eax, dword [0xa8ebac]
test eax, eax
jne 0x4cee11
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8ebac], eax
mov eax, dword [0xa8ebb0]
test eax, eax
jne 0x4cee33
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004ab74a
mov dword [0xa8ebb0], eax
cmp dword [ebp + 0xc], 0
je 0x4cee4a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4cee4a
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x4cf556
mov eax, dword [0xa8eb9c]
test eax, eax
je 0x4ceebb
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8eba0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [0xa7a150], 1
mov eax, dword [0xa8eba0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa7a150], 0
jmp 0x4cf5cf
call fcn.004ccfed
test eax, eax
setne al
test al, al
je 0x4cf3ef
mov eax, dword [0xa8eba4]
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 [0xa8ebac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov eax, dword [0xa8eba4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4cf5c2
mov eax, dword [0xa8eba4]
mov dword [esp], eax
call fcn.004cd100
test eax, eax
sete al
test al, al
je 0x4cf013
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8eba4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8eba8]
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], 0xa8ebc0
call sub.msvcrt.dll_memset
mov dword [0xa8ebc0], 0x3c
mov eax, dword [0xa8eba8]
mov eax, dword [eax]
mov dword [0xa8ebd0], eax
mov dword [0xa8ebd4], 0
mov dword [0xa8ebc4], 0x440
mov dword [0xa8ebdc], 5
mov dword [esp], 0xa8ebc0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4cf013
mov dword [0xa7a150], 1
mov eax, dword [0xa8ebf8]
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 [0xa8ebf8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa7a150], 0
jmp 0x4cf5cf
mov dword [0xa8ebfc], 0
mov dword [0xa8ec00], 0
jmp 0x4cf0f1
mov eax, dword [0xa8eba4]
mov edx, dword [eax]
mov eax, dword [0xa8ebfc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x4cf060
mov eax, dword [0xa8ec00]
test eax, eax
jne 0x4cf056
mov dword [0xa8ec00], 1
jmp 0x4cf060
mov dword [0xa8ec00], 0
mov eax, dword [0xa8eba4]
mov edx, dword [eax]
mov eax, dword [0xa8ebfc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x4cf0e4
mov eax, dword [0xa8ec00]
test eax, eax
jne 0x4cf0e4
mov eax, dword [0xa8eba4]
mov edx, dword [eax + 4]
mov eax, dword [0xa8ebfc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa8eba4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac4bf
mov edx, eax
mov eax, dword [0xa8ebac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov edx, dword [0xa8ebfc]
mov eax, dword [0xa8eba4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac3f7
mov edx, eax
mov eax, dword [0xa8eba4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
jmp 0x4cf10b
mov eax, dword [0xa8ebfc]
add eax, 1
mov dword [0xa8ebfc], eax
mov eax, dword [0xa8eba4]
mov edx, dword [eax + 4]
mov eax, dword [0xa8ebfc]
cmp edx, eax
setg al
test al, al
jne 0x4cf02c
mov eax, dword [0xa8eba4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4cf5c5
mov eax, dword [0xa8ebac]
mov eax, dword [eax + 4]
test eax, eax
je 0x4cf26a
mov eax, dword [0xa8eba4]
mov dword [esp], eax
call fcn.004cd100
test eax, eax
sete al
test al, al
je 0x4cf26a
mov dword [esp + 4], 1
mov dword [esp], 0x59e827
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8eba4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8eba8]
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 [0xa8ebac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8ebb0]
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], 0xa8ebc0
call sub.msvcrt.dll_memset
mov dword [0xa8ebc0], 0x3c
mov eax, dword [0xa8eba8]
mov eax, dword [eax]
mov dword [0xa8ebd0], eax
mov eax, dword [0xa8ebb0]
mov eax, dword [eax]
mov dword [0xa8ebd4], eax
mov dword [0xa8ebc4], 0x440
mov dword [0xa8ebdc], 5
mov dword [esp], 0xa8ebc0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4cf26a
mov dword [0xa7a150], 1
mov eax, dword [0xa8ebf8]
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 [0xa8ebf8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa7a150], 0
jmp 0x4cf5cf
mov eax, dword [0xa8ebac]
mov eax, dword [eax + 4]
test eax, eax
je 0x4cf2a7
mov ebx, dword [0xa8ebac]
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 [0xa8ebac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov edx, dword [0xa8ebac]
mov eax, dword [0xa8eba4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8eba0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov ebx, dword [0xa8eba0]
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 [0xa8eba0]
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 [0xa8eba0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8eba0]
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], 0xa8ebc0
call sub.msvcrt.dll_memset
mov dword [0xa8ebc0], 0x3c
mov dword [0xa8ebd0], 0x582936
mov eax, dword [0xa8eba0]
mov eax, dword [eax]
mov dword [0xa8ebd4], eax
mov dword [0xa8ebc4], 0x440
mov dword [0xa8ebdc], 5
mov dword [esp], 0xa8ebc0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4cf5c8
mov dword [0xa7a150], 1
mov eax, dword [0xa8ebf8]
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 [0xa8ebf8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa7a150], 0
jmp 0x4cf5cf
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 [0xa8eba0]
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 [0xa8eba0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ac075
mov edx, eax
mov eax, dword [0xa8eba0]
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], 0xa8ec20
call sub.msvcrt.dll_memset
mov dword [0xa8ec20], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa8ec64
call sub.msvcrt.dll_memset
mov eax, dword [0xa8eba0]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa8ec64
mov dword [esp + 0x20], 0xa8ec20
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 0x4cf5cb
mov dword [0xa7a150], 1
mov eax, dword [0xa8ec64]
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 [0xa8ec64]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa8ec68]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa7a150], 0
jmp 0x4cf5cf
mov eax, dword [0xa8eb9c]
test eax, eax
jne 0x4cf566
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x59ebec
call fcn.004ab5c7
mov edx, eax
mov eax, dword [0xa8eba0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ab8b1
mov dword [0xa7a150], 1
mov eax, dword [0xa8eba0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa7a150], 0
mov eax, dword [0xa8eb9c]
test eax, eax
jne 0x4cf5ce
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x4cf5ce
nop
jmp 0x4cf5cf
nop
jmp 0x4cf5cf
nop
jmp 0x4cf5cf
nop
jmp 0x4cf5cf
nop
mov eax, dword [0xa8eb98]
test eax, eax
je 0x4cf604
mov eax, dword [0xa8eb98]
mov dword [0x582570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6fee48]
test eax, eax
sete al
test al, al
jne 0x4cf5e2
jmp 0x4cf604
nop
mov ebx, dword [ebp - 4]
leave
ret