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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x56e28c]
test eax, eax
jne 0x46fbd3
mov eax, dword [0x67eb4c]
test eax, eax
je 0x46f2f7
mov dword [esp], 0x106
call fcn.0044a600
jmp 0x46fbd4
mov eax, dword [0x69de68]
mov dword [0xa2dbb8], eax
mov eax, dword [0xa2dbb8]
test eax, eax
je 0x46f333
mov dword [0x522570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x69de68]
test eax, eax
setne al
test al, al
jne 0x46f314
mov dword [0xa2dbbc], 0
mov eax, dword [0x67ebb8]
test eax, eax
je 0x46f359
mov eax, dword [0x5222dc]
test eax, eax
je 0x46f359
mov dword [0xa2dbbc], 1
mov eax, dword [0xa2dbc0]
test eax, eax
jne 0x46f37b
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2dbc0], eax
mov eax, dword [0xa2dbc4]
test eax, eax
jne 0x46f39d
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2dbc4], eax
mov eax, dword [0xa2dbc8]
test eax, eax
jne 0x46f3bf
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2dbc8], eax
mov eax, dword [0xa2dbcc]
test eax, eax
jne 0x46f3e1
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2dbcc], eax
mov eax, dword [0xa2dbd0]
test eax, eax
jne 0x46f403
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2dbd0], eax
cmp dword [ebp + 0xc], 0
je 0x46f41a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x46f41a
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x46fb26
mov eax, dword [0xa2dbbc]
test eax, eax
je 0x46f48b
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [0xa19170], 1
mov eax, dword [0xa2dbc0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa19170], 0
jmp 0x46fb9f
call fcn.0046d5bd
test eax, eax
setne al
test al, al
je 0x46f9bf
mov eax, dword [0xa2dbc4]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp], 0x536c66
call fcn.0044bb06
mov edx, eax
mov eax, dword [0xa2dbcc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov eax, dword [0xa2dbc4]
mov eax, dword [eax + 4]
test eax, eax
je 0x46fb92
mov eax, dword [0xa2dbc4]
mov dword [esp], eax
call fcn.0046d6d0
test eax, eax
sete al
test al, al
je 0x46f5e3
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2dbc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbc8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2dbe0
call sub.msvcrt.dll_memset
mov dword [0xa2dbe0], 0x3c
mov eax, dword [0xa2dbc8]
mov eax, dword [eax]
mov dword [0xa2dbf0], eax
mov dword [0xa2dbf4], 0
mov dword [0xa2dbe4], 0x440
mov dword [0xa2dbfc], 5
mov dword [esp], 0xa2dbe0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x46f5e3
mov dword [0xa19170], 1
mov eax, dword [0xa2dc18]
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 [0xa2dc18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa19170], 0
jmp 0x46fb9f
mov dword [0xa2dc1c], 0
mov dword [0xa2dc20], 0
jmp 0x46f6c1
mov eax, dword [0xa2dbc4]
mov edx, dword [eax]
mov eax, dword [0xa2dc1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x46f630
mov eax, dword [0xa2dc20]
test eax, eax
jne 0x46f626
mov dword [0xa2dc20], 1
jmp 0x46f630
mov dword [0xa2dc20], 0
mov eax, dword [0xa2dbc4]
mov edx, dword [eax]
mov eax, dword [0xa2dc1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x46f6b4
mov eax, dword [0xa2dc20]
test eax, eax
jne 0x46f6b4
mov eax, dword [0xa2dbc4]
mov edx, dword [eax + 4]
mov eax, dword [0xa2dc1c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa2dbc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044ca8f
mov edx, eax
mov eax, dword [0xa2dbcc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov edx, dword [0xa2dc1c]
mov eax, dword [0xa2dbc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c9c7
mov edx, eax
mov eax, dword [0xa2dbc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
jmp 0x46f6db
mov eax, dword [0xa2dc1c]
add eax, 1
mov dword [0xa2dc1c], eax
mov eax, dword [0xa2dbc4]
mov edx, dword [eax + 4]
mov eax, dword [0xa2dc1c]
cmp edx, eax
setg al
test al, al
jne 0x46f5fc
mov eax, dword [0xa2dbc4]
mov eax, dword [eax + 4]
test eax, eax
je 0x46fb95
mov eax, dword [0xa2dbcc]
mov eax, dword [eax + 4]
test eax, eax
je 0x46f83a
mov eax, dword [0xa2dbc4]
mov dword [esp], eax
call fcn.0046d6d0
test eax, eax
sete al
test al, al
je 0x46f83a
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2dbc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbc8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2dbcc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbd0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2dbe0
call sub.msvcrt.dll_memset
mov dword [0xa2dbe0], 0x3c
mov eax, dword [0xa2dbc8]
mov eax, dword [eax]
mov dword [0xa2dbf0], eax
mov eax, dword [0xa2dbd0]
mov eax, dword [eax]
mov dword [0xa2dbf4], eax
mov dword [0xa2dbe4], 0x440
mov dword [0xa2dbfc], 5
mov dword [esp], 0xa2dbe0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x46f83a
mov dword [0xa19170], 1
mov eax, dword [0xa2dc18]
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 [0xa2dc18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa19170], 0
jmp 0x46fb9f
mov eax, dword [0xa2dbcc]
mov eax, dword [eax + 4]
test eax, eax
je 0x46f877
mov ebx, dword [0xa2dbcc]
mov dword [esp], 0x53e05a
call fcn.0044bb06
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbcc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov edx, dword [0xa2dbcc]
mov eax, dword [0xa2dbc4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov ebx, dword [0xa2dbc0]
mov dword [esp], str.__c
call fcn.0044bb06
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2dbe0
call sub.msvcrt.dll_memset
mov dword [0xa2dbe0], 0x3c
mov dword [0xa2dbf0], 0x522936
mov eax, dword [0xa2dbc0]
mov eax, dword [eax]
mov dword [0xa2dbf4], eax
mov dword [0xa2dbe4], 0x440
mov dword [0xa2dbfc], 5
mov dword [esp], 0xa2dbe0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x46fb98
mov dword [0xa19170], 1
mov eax, dword [0xa2dc18]
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 [0xa2dc18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa19170], 0
jmp 0x46fb9f
mov dword [esp], str.command.com__c
call fcn.0044bb06
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa2dc40
call sub.msvcrt.dll_memset
mov dword [0xa2dc40], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa2dc84
call sub.msvcrt.dll_memset
mov eax, dword [0xa2dbc0]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa2dc84
mov dword [esp + 0x20], 0xa2dc40
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 0x46fb9b
mov dword [0xa19170], 1
mov eax, dword [0xa2dc84]
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 [0xa2dc84]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa2dc88]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa19170], 0
jmp 0x46fb9f
mov eax, dword [0xa2dbbc]
test eax, eax
jne 0x46fb36
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x53e3ac
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2dbc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [0xa19170], 1
mov eax, dword [0xa2dbc0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa19170], 0
mov eax, dword [0xa2dbbc]
test eax, eax
jne 0x46fb9e
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x46fb9e
nop
jmp 0x46fb9f
nop
jmp 0x46fb9f
nop
jmp 0x46fb9f
nop
jmp 0x46fb9f
nop
mov eax, dword [0xa2dbb8]
test eax, eax
je 0x46fbd4
mov eax, dword [0xa2dbb8]
mov dword [0x522570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x69de68]
test eax, eax
sete al
test al, al
jne 0x46fbb2
jmp 0x46fbd4
nop
mov ebx, dword [ebp - 4]
leave
ret