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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x56628c]
test eax, eax
jne 0x4672ef
mov eax, dword [0x676b4c]
test eax, eax
je 0x466a13
mov dword [esp], 0x106
call fcn.00441d1c
jmp 0x4672f0
mov eax, dword [0x695e68]
mov dword [0xa25bb8], eax
mov eax, dword [0xa25bb8]
test eax, eax
je 0x466a4f
mov dword [0x51a570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x695e68]
test eax, eax
setne al
test al, al
jne 0x466a30
mov dword [0xa25bbc], 0
mov eax, dword [0x676b98]
test eax, eax
je 0x466a75
mov eax, dword [0x51a2dc]
test eax, eax
je 0x466a75
mov dword [0xa25bbc], 1
mov eax, dword [0xa25bc0]
test eax, eax
jne 0x466a97
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443436
mov dword [0xa25bc0], eax
mov eax, dword [0xa25bc4]
test eax, eax
jne 0x466ab9
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443436
mov dword [0xa25bc4], eax
mov eax, dword [0xa25bc8]
test eax, eax
jne 0x466adb
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443436
mov dword [0xa25bc8], eax
mov eax, dword [0xa25bcc]
test eax, eax
jne 0x466afd
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443436
mov dword [0xa25bcc], eax
mov eax, dword [0xa25bd0]
test eax, eax
jne 0x466b1f
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443436
mov dword [0xa25bd0], eax
cmp dword [ebp + 0xc], 0
je 0x466b36
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x466b36
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x467242
mov eax, dword [0xa25bbc]
test eax, eax
je 0x466ba7
mov dword [esp + 4], 1
mov dword [esp], 0x535f87
call fcn.004432b3
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [0xa11170], 1
mov eax, dword [0xa25bc0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa11170], 0
jmp 0x4672bb
call fcn.00464cd9
test eax, eax
setne al
test al, al
je 0x4670db
mov eax, dword [0xa25bc4]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [esp], 0x52ec06
call fcn.00443222
mov edx, eax
mov eax, dword [0xa25bcc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov eax, dword [0xa25bc4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4672ae
mov eax, dword [0xa25bc4]
mov dword [esp], eax
call fcn.00464dec
test eax, eax
sete al
test al, al
je 0x466cff
mov dword [esp + 4], 1
mov dword [esp], 0x535f87
call fcn.004432b3
mov edx, eax
mov eax, dword [0xa25bc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bc8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa25be0
call sub.msvcrt.dll_memset
mov dword [0xa25be0], 0x3c
mov eax, dword [0xa25bc8]
mov eax, dword [eax]
mov dword [0xa25bf0], eax
mov dword [0xa25bf4], 0
mov dword [0xa25be4], 0x440
mov dword [0xa25bfc], 5
mov dword [esp], 0xa25be0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x466cff
mov dword [0xa11170], 1
mov eax, dword [0xa25c18]
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 [0xa25c18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa11170], 0
jmp 0x4672bb
mov dword [0xa25c1c], 0
mov dword [0xa25c20], 0
jmp 0x466ddd
mov eax, dword [0xa25bc4]
mov edx, dword [eax]
mov eax, dword [0xa25c1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x466d4c
mov eax, dword [0xa25c20]
test eax, eax
jne 0x466d42
mov dword [0xa25c20], 1
jmp 0x466d4c
mov dword [0xa25c20], 0
mov eax, dword [0xa25bc4]
mov edx, dword [eax]
mov eax, dword [0xa25c1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x466dd0
mov eax, dword [0xa25c20]
test eax, eax
jne 0x466dd0
mov eax, dword [0xa25bc4]
mov edx, dword [eax + 4]
mov eax, dword [0xa25c1c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa25bc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004441ab
mov edx, eax
mov eax, dword [0xa25bcc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov edx, dword [0xa25c1c]
mov eax, dword [0xa25bc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004440e3
mov edx, eax
mov eax, dword [0xa25bc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
jmp 0x466df7
mov eax, dword [0xa25c1c]
add eax, 1
mov dword [0xa25c1c], eax
mov eax, dword [0xa25bc4]
mov edx, dword [eax + 4]
mov eax, dword [0xa25c1c]
cmp edx, eax
setg al
test al, al
jne 0x466d18
mov eax, dword [0xa25bc4]
mov eax, dword [eax + 4]
test eax, eax
je 0x4672b1
mov eax, dword [0xa25bcc]
mov eax, dword [eax + 4]
test eax, eax
je 0x466f56
mov eax, dword [0xa25bc4]
mov dword [esp], eax
call fcn.00464dec
test eax, eax
sete al
test al, al
je 0x466f56
mov dword [esp + 4], 1
mov dword [esp], 0x535f87
call fcn.004432b3
mov edx, eax
mov eax, dword [0xa25bc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bc8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [esp + 4], 1
mov dword [esp], 0x535f87
call fcn.004432b3
mov edx, eax
mov eax, dword [0xa25bcc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bd0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa25be0
call sub.msvcrt.dll_memset
mov dword [0xa25be0], 0x3c
mov eax, dword [0xa25bc8]
mov eax, dword [eax]
mov dword [0xa25bf0], eax
mov eax, dword [0xa25bd0]
mov eax, dword [eax]
mov dword [0xa25bf4], eax
mov dword [0xa25be4], 0x440
mov dword [0xa25bfc], 5
mov dword [esp], 0xa25be0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x466f56
mov dword [0xa11170], 1
mov eax, dword [0xa25c18]
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 [0xa25c18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa11170], 0
jmp 0x4672bb
mov eax, dword [0xa25bcc]
mov eax, dword [eax + 4]
test eax, eax
je 0x466f93
mov ebx, dword [0xa25bcc]
mov dword [esp], 0x535ffa
call fcn.00443222
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bcc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov edx, dword [0xa25bcc]
mov eax, dword [0xa25bc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov ebx, dword [0xa25bc0]
mov dword [esp], str.__c
call fcn.00443222
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [esp + 4], 1
mov dword [esp], 0x535f87
call fcn.004432b3
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa25be0
call sub.msvcrt.dll_memset
mov dword [0xa25be0], 0x3c
mov dword [0xa25bf0], 0x51a936
mov eax, dword [0xa25bc0]
mov eax, dword [eax]
mov dword [0xa25bf4], eax
mov dword [0xa25be4], 0x440
mov dword [0xa25bfc], 5
mov dword [esp], 0xa25be0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4672b4
mov dword [0xa11170], 1
mov eax, dword [0xa25c18]
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 [0xa25c18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa11170], 0
jmp 0x4672bb
mov dword [esp], str.command.com__c
call fcn.00443222
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [esp + 4], 1
mov dword [esp], 0x535f87
call fcn.004432b3
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443d61
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa25c40
call sub.msvcrt.dll_memset
mov dword [0xa25c40], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa25c84
call sub.msvcrt.dll_memset
mov eax, dword [0xa25bc0]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa25c84
mov dword [esp + 0x20], 0xa25c40
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 0x4672b7
mov dword [0xa11170], 1
mov eax, dword [0xa25c84]
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 [0xa25c84]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa25c88]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa11170], 0
jmp 0x4672bb
mov eax, dword [0xa25bbc]
test eax, eax
jne 0x467252
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x53634c
call fcn.004432b3
mov edx, eax
mov eax, dword [0xa25bc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044359d
mov dword [0xa11170], 1
mov eax, dword [0xa25bc0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa11170], 0
mov eax, dword [0xa25bbc]
test eax, eax
jne 0x4672ba
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x4672ba
nop
jmp 0x4672bb
nop
jmp 0x4672bb
nop
jmp 0x4672bb
nop
jmp 0x4672bb
nop
mov eax, dword [0xa25bb8]
test eax, eax
je 0x4672f0
mov eax, dword [0xa25bb8]
mov dword [0x51a570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x695e68]
test eax, eax
sete al
test al, al
jne 0x4672ce
jmp 0x4672f0
nop
mov ebx, dword [ebp - 4]
leave
ret