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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x58528c]
test eax, eax
jne 0x48686b
mov eax, dword [0x695b4c]
test eax, eax
je 0x485f8f
mov dword [esp], 0x106
call fcn.00461298
jmp 0x48686c
mov eax, dword [0x6b5648]
mov dword [0xa45398], eax
mov eax, dword [0xa45398]
test eax, eax
je 0x485fcb
mov dword [0x539570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6b5648]
test eax, eax
setne al
test al, al
jne 0x485fac
mov dword [0xa4539c], 0
mov eax, dword [0x695c58]
test eax, eax
je 0x485ff1
mov eax, dword [0x5392dc]
test eax, eax
je 0x485ff1
mov dword [0xa4539c], 1
mov eax, dword [0xa453a0]
test eax, eax
jne 0x486013
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa453a0], eax
mov eax, dword [0xa453a4]
test eax, eax
jne 0x486035
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa453a4], eax
mov eax, dword [0xa453a8]
test eax, eax
jne 0x486057
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa453a8], eax
mov eax, dword [0xa453ac]
test eax, eax
jne 0x486079
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa453ac], eax
mov eax, dword [0xa453b0]
test eax, eax
jne 0x48609b
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa453b0], eax
cmp dword [ebp + 0xc], 0
je 0x4860b2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4860b2
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x4867be
mov eax, dword [0xa4539c]
test eax, eax
je 0x486123
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [0xa30950], 1
mov eax, dword [0xa453a0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa30950], 0
jmp 0x486837
call fcn.00484255
test eax, eax
setne al
test al, al
je 0x486657
mov eax, dword [0xa453a4]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp], 0x54e206
call fcn.0046279e
mov edx, eax
mov eax, dword [0xa453ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov eax, dword [0xa453a4]
mov eax, dword [eax + 4]
test eax, eax
je 0x48682a
mov eax, dword [0xa453a4]
mov dword [esp], eax
call fcn.00484368
test eax, eax
sete al
test al, al
je 0x48627b
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa453a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453a8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa453c0
call sub.msvcrt.dll_memset
mov dword [0xa453c0], 0x3c
mov eax, dword [0xa453a8]
mov eax, dword [eax]
mov dword [0xa453d0], eax
mov dword [0xa453d4], 0
mov dword [0xa453c4], 0x440
mov dword [0xa453dc], 5
mov dword [esp], 0xa453c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x48627b
mov dword [0xa30950], 1
mov eax, dword [0xa453f8]
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 [0xa453f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa30950], 0
jmp 0x486837
mov dword [0xa453fc], 0
mov dword [0xa45400], 0
jmp 0x486359
mov eax, dword [0xa453a4]
mov edx, dword [eax]
mov eax, dword [0xa453fc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x4862c8
mov eax, dword [0xa45400]
test eax, eax
jne 0x4862be
mov dword [0xa45400], 1
jmp 0x4862c8
mov dword [0xa45400], 0
mov eax, dword [0xa453a4]
mov edx, dword [eax]
mov eax, dword [0xa453fc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x48634c
mov eax, dword [0xa45400]
test eax, eax
jne 0x48634c
mov eax, dword [0xa453a4]
mov edx, dword [eax + 4]
mov eax, dword [0xa453fc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa453a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463727
mov edx, eax
mov eax, dword [0xa453ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov edx, dword [0xa453fc]
mov eax, dword [0xa453a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0046365f
mov edx, eax
mov eax, dword [0xa453a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
jmp 0x486373
mov eax, dword [0xa453fc]
add eax, 1
mov dword [0xa453fc], eax
mov eax, dword [0xa453a4]
mov edx, dword [eax + 4]
mov eax, dword [0xa453fc]
cmp edx, eax
setg al
test al, al
jne 0x486294
mov eax, dword [0xa453a4]
mov eax, dword [eax + 4]
test eax, eax
je 0x48682d
mov eax, dword [0xa453ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x4864d2
mov eax, dword [0xa453a4]
mov dword [esp], eax
call fcn.00484368
test eax, eax
sete al
test al, al
je 0x4864d2
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa453a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453a8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa453ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453b0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa453c0
call sub.msvcrt.dll_memset
mov dword [0xa453c0], 0x3c
mov eax, dword [0xa453a8]
mov eax, dword [eax]
mov dword [0xa453d0], eax
mov eax, dword [0xa453b0]
mov eax, dword [eax]
mov dword [0xa453d4], eax
mov dword [0xa453c4], 0x440
mov dword [0xa453dc], 5
mov dword [esp], 0xa453c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4864d2
mov dword [0xa30950], 1
mov eax, dword [0xa453f8]
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 [0xa453f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa30950], 0
jmp 0x486837
mov eax, dword [0xa453ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x48650f
mov ebx, dword [0xa453ac]
mov dword [esp], 0x5555fa
call fcn.0046279e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov edx, dword [0xa453ac]
mov eax, dword [0xa453a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov ebx, dword [0xa453a0]
mov dword [esp], str.__c
call fcn.0046279e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa453c0
call sub.msvcrt.dll_memset
mov dword [0xa453c0], 0x3c
mov dword [0xa453d0], 0x539936
mov eax, dword [0xa453a0]
mov eax, dword [eax]
mov dword [0xa453d4], eax
mov dword [0xa453c4], 0x440
mov dword [0xa453dc], 5
mov dword [esp], 0xa453c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x486830
mov dword [0xa30950], 1
mov eax, dword [0xa453f8]
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 [0xa453f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa30950], 0
jmp 0x486837
mov dword [esp], str.command.com__c
call fcn.0046279e
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa45420
call sub.msvcrt.dll_memset
mov dword [0xa45420], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa45464
call sub.msvcrt.dll_memset
mov eax, dword [0xa453a0]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa45464
mov dword [esp + 0x20], 0xa45420
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 0x486833
mov dword [0xa30950], 1
mov eax, dword [0xa45464]
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 [0xa45464]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa45468]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa30950], 0
jmp 0x486837
mov eax, dword [0xa4539c]
test eax, eax
jne 0x4867ce
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x55594c
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa453a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [0xa30950], 1
mov eax, dword [0xa453a0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa30950], 0
mov eax, dword [0xa4539c]
test eax, eax
jne 0x486836
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x486836
nop
jmp 0x486837
nop
jmp 0x486837
nop
jmp 0x486837
nop
jmp 0x486837
nop
mov eax, dword [0xa45398]
test eax, eax
je 0x48686c
mov eax, dword [0xa45398]
mov dword [0x539570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6b5648]
test eax, eax
sete al
test al, al
jne 0x48684a
jmp 0x48686c
nop
mov ebx, dword [ebp - 4]
leave
ret