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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x57f28c]
test eax, eax
jne 0x480837
mov eax, dword [0x68fb4c]
test eax, eax
je 0x47ff5b
mov dword [esp], 0x106
call fcn.0045b264
jmp 0x480838
mov eax, dword [0x6af408]
mov dword [0xa3f158], eax
mov eax, dword [0xa3f158]
test eax, eax
je 0x47ff97
mov dword [0x533570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6af408]
test eax, eax
setne al
test al, al
jne 0x47ff78
mov dword [0xa3f15c], 0
mov eax, dword [0x68fc44]
test eax, eax
je 0x47ffbd
mov eax, dword [0x5332dc]
test eax, eax
je 0x47ffbd
mov dword [0xa3f15c], 1
mov eax, dword [0xa3f160]
test eax, eax
jne 0x47ffdf
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3f160], eax
mov eax, dword [0xa3f164]
test eax, eax
jne 0x480001
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3f164], eax
mov eax, dword [0xa3f168]
test eax, eax
jne 0x480023
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3f168], eax
mov eax, dword [0xa3f16c]
test eax, eax
jne 0x480045
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3f16c], eax
mov eax, dword [0xa3f170]
test eax, eax
jne 0x480067
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3f170], eax
cmp dword [ebp + 0xc], 0
je 0x48007e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x48007e
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x48078a
mov eax, dword [0xa3f15c]
test eax, eax
je 0x4800ef
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [0xa2a710], 1
mov eax, dword [0xa3f160]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa2a710], 0
jmp 0x480803
call fcn.0047e221
test eax, eax
setne al
test al, al
je 0x480623
mov eax, dword [0xa3f164]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp], 0x5481e6
call fcn.0045c76a
mov edx, eax
mov eax, dword [0xa3f16c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov eax, dword [0xa3f164]
mov eax, dword [eax + 4]
test eax, eax
je 0x4807f6
mov eax, dword [0xa3f164]
mov dword [esp], eax
call fcn.0047e334
test eax, eax
sete al
test al, al
je 0x480247
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3f164]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f168]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa3f180
call sub.msvcrt.dll_memset
mov dword [0xa3f180], 0x3c
mov eax, dword [0xa3f168]
mov eax, dword [eax]
mov dword [0xa3f190], eax
mov dword [0xa3f194], 0
mov dword [0xa3f184], 0x440
mov dword [0xa3f19c], 5
mov dword [esp], 0xa3f180
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x480247
mov dword [0xa2a710], 1
mov eax, dword [0xa3f1b8]
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 [0xa3f1b8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa2a710], 0
jmp 0x480803
mov dword [0xa3f1bc], 0
mov dword [0xa3f1c0], 0
jmp 0x480325
mov eax, dword [0xa3f164]
mov edx, dword [eax]
mov eax, dword [0xa3f1bc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x480294
mov eax, dword [0xa3f1c0]
test eax, eax
jne 0x48028a
mov dword [0xa3f1c0], 1
jmp 0x480294
mov dword [0xa3f1c0], 0
mov eax, dword [0xa3f164]
mov edx, dword [eax]
mov eax, dword [0xa3f1bc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x480318
mov eax, dword [0xa3f1c0]
test eax, eax
jne 0x480318
mov eax, dword [0xa3f164]
mov edx, dword [eax + 4]
mov eax, dword [0xa3f1bc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa3f164]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d6f3
mov edx, eax
mov eax, dword [0xa3f16c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov edx, dword [0xa3f1bc]
mov eax, dword [0xa3f164]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d62b
mov edx, eax
mov eax, dword [0xa3f164]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
jmp 0x48033f
mov eax, dword [0xa3f1bc]
add eax, 1
mov dword [0xa3f1bc], eax
mov eax, dword [0xa3f164]
mov edx, dword [eax + 4]
mov eax, dword [0xa3f1bc]
cmp edx, eax
setg al
test al, al
jne 0x480260
mov eax, dword [0xa3f164]
mov eax, dword [eax + 4]
test eax, eax
je 0x4807f9
mov eax, dword [0xa3f16c]
mov eax, dword [eax + 4]
test eax, eax
je 0x48049e
mov eax, dword [0xa3f164]
mov dword [esp], eax
call fcn.0047e334
test eax, eax
sete al
test al, al
je 0x48049e
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3f164]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f168]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3f16c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f170]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa3f180
call sub.msvcrt.dll_memset
mov dword [0xa3f180], 0x3c
mov eax, dword [0xa3f168]
mov eax, dword [eax]
mov dword [0xa3f190], eax
mov eax, dword [0xa3f170]
mov eax, dword [eax]
mov dword [0xa3f194], eax
mov dword [0xa3f184], 0x440
mov dword [0xa3f19c], 5
mov dword [esp], 0xa3f180
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x48049e
mov dword [0xa2a710], 1
mov eax, dword [0xa3f1b8]
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 [0xa3f1b8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa2a710], 0
jmp 0x480803
mov eax, dword [0xa3f16c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4804db
mov ebx, dword [0xa3f16c]
mov dword [esp], 0x54f5da
call fcn.0045c76a
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f16c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov edx, dword [0xa3f16c]
mov eax, dword [0xa3f164]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov ebx, dword [0xa3f160]
mov dword [esp], str.__c
call fcn.0045c76a
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa3f180
call sub.msvcrt.dll_memset
mov dword [0xa3f180], 0x3c
mov dword [0xa3f190], 0x533936
mov eax, dword [0xa3f160]
mov eax, dword [eax]
mov dword [0xa3f194], eax
mov dword [0xa3f184], 0x440
mov dword [0xa3f19c], 5
mov dword [esp], 0xa3f180
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4807fc
mov dword [0xa2a710], 1
mov eax, dword [0xa3f1b8]
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 [0xa3f1b8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa2a710], 0
jmp 0x480803
mov dword [esp], str.command.com__c
call fcn.0045c76a
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa3f1e0
call sub.msvcrt.dll_memset
mov dword [0xa3f1e0], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa3f224
call sub.msvcrt.dll_memset
mov eax, dword [0xa3f160]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa3f224
mov dword [esp + 0x20], 0xa3f1e0
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 0x4807ff
mov dword [0xa2a710], 1
mov eax, dword [0xa3f224]
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 [0xa3f224]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa3f228]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa2a710], 0
jmp 0x480803
mov eax, dword [0xa3f15c]
test eax, eax
jne 0x48079a
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x54f92c
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3f160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [0xa2a710], 1
mov eax, dword [0xa3f160]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa2a710], 0
mov eax, dword [0xa3f15c]
test eax, eax
jne 0x480802
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x480802
nop
jmp 0x480803
nop
jmp 0x480803
nop
jmp 0x480803
nop
jmp 0x480803
nop
mov eax, dword [0xa3f158]
test eax, eax
je 0x480838
mov eax, dword [0xa3f158]
mov dword [0x533570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6af408]
test eax, eax
sete al
test al, al
jne 0x480816
jmp 0x480838
nop
mov ebx, dword [ebp - 4]
leave
ret