Function at 0x4862ad
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 0x486bb7
mov eax, dword [0x695b4c]
test eax, eax
je 0x4862db
mov dword [esp], 0x106
call fcn.004615e4
jmp 0x486bb8
mov eax, dword [0x6b5548]
mov dword [0xa45298], eax
mov eax, dword [0xa45298]
test eax, eax
je 0x486317
mov dword [0x539570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6b5548]
test eax, eax
setne al
test al, al
jne 0x4862f8
mov dword [0xa4529c], 0
mov eax, dword [0x695c14]
test eax, eax
je 0x48633d
mov eax, dword [0x5392dc]
test eax, eax
je 0x48633d
mov dword [0xa4529c], 1
mov eax, dword [0xa452a0]
test eax, eax
jne 0x48635f
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa452a0], eax
mov eax, dword [0xa452a4]
test eax, eax
jne 0x486381
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa452a4], eax
mov eax, dword [0xa452a8]
test eax, eax
jne 0x4863a3
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa452a8], eax
mov eax, dword [0xa452ac]
test eax, eax
jne 0x4863c5
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa452ac], eax
mov eax, dword [0xa452b0]
test eax, eax
jne 0x4863e7
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa452b0], eax
cmp dword [ebp + 0xc], 0
je 0x4863fe
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4863fe
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x486b0a
mov eax, dword [0xa4529c]
test eax, eax
je 0x48646f
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [0xa30850], 1
mov eax, dword [0xa452a0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa30850], 0
jmp 0x486b83
call fcn.004845a1
test eax, eax
setne al
test al, al
je 0x4869a3
mov eax, dword [0xa452a4]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp], 0x54dda6
call fcn.00462aea
mov edx, eax
mov eax, dword [0xa452ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov eax, dword [0xa452a4]
mov eax, dword [eax + 4]
test eax, eax
je 0x486b76
mov eax, dword [0xa452a4]
mov dword [esp], eax
call fcn.004846b4
test eax, eax
sete al
test al, al
je 0x4865c7
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa452a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452a8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa452c0
call sub.msvcrt.dll_memset
mov dword [0xa452c0], 0x3c
mov eax, dword [0xa452a8]
mov eax, dword [eax]
mov dword [0xa452d0], eax
mov dword [0xa452d4], 0
mov dword [0xa452c4], 0x440
mov dword [0xa452dc], 5
mov dword [esp], 0xa452c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4865c7
mov dword [0xa30850], 1
mov eax, dword [0xa452f8]
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 [0xa452f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa30850], 0
jmp 0x486b83
mov dword [0xa452fc], 0
mov dword [0xa45300], 0
jmp 0x4866a5
mov eax, dword [0xa452a4]
mov edx, dword [eax]
mov eax, dword [0xa452fc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x486614
mov eax, dword [0xa45300]
test eax, eax
jne 0x48660a
mov dword [0xa45300], 1
jmp 0x486614
mov dword [0xa45300], 0
mov eax, dword [0xa452a4]
mov edx, dword [eax]
mov eax, dword [0xa452fc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x486698
mov eax, dword [0xa45300]
test eax, eax
jne 0x486698
mov eax, dword [0xa452a4]
mov edx, dword [eax + 4]
mov eax, dword [0xa452fc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa452a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463a73
mov edx, eax
mov eax, dword [0xa452ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov edx, dword [0xa452fc]
mov eax, dword [0xa452a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004639ab
mov edx, eax
mov eax, dword [0xa452a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
jmp 0x4866bf
mov eax, dword [0xa452fc]
add eax, 1
mov dword [0xa452fc], eax
mov eax, dword [0xa452a4]
mov edx, dword [eax + 4]
mov eax, dword [0xa452fc]
cmp edx, eax
setg al
test al, al
jne 0x4865e0
mov eax, dword [0xa452a4]
mov eax, dword [eax + 4]
test eax, eax
je 0x486b79
mov eax, dword [0xa452ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x48681e
mov eax, dword [0xa452a4]
mov dword [esp], eax
call fcn.004846b4
test eax, eax
sete al
test al, al
je 0x48681e
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa452a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452a8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa452ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452b0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa452c0
call sub.msvcrt.dll_memset
mov dword [0xa452c0], 0x3c
mov eax, dword [0xa452a8]
mov eax, dword [eax]
mov dword [0xa452d0], eax
mov eax, dword [0xa452b0]
mov eax, dword [eax]
mov dword [0xa452d4], eax
mov dword [0xa452c4], 0x440
mov dword [0xa452dc], 5
mov dword [esp], 0xa452c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x48681e
mov dword [0xa30850], 1
mov eax, dword [0xa452f8]
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 [0xa452f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa30850], 0
jmp 0x486b83
mov eax, dword [0xa452ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x48685b
mov ebx, dword [0xa452ac]
mov dword [esp], 0x55519a
call fcn.00462aea
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov edx, dword [0xa452ac]
mov eax, dword [0xa452a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov ebx, dword [0xa452a0]
mov dword [esp], str.__c
call fcn.00462aea
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa452c0
call sub.msvcrt.dll_memset
mov dword [0xa452c0], 0x3c
mov dword [0xa452d0], 0x539936
mov eax, dword [0xa452a0]
mov eax, dword [eax]
mov dword [0xa452d4], eax
mov dword [0xa452c4], 0x440
mov dword [0xa452dc], 5
mov dword [esp], 0xa452c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x486b7c
mov dword [0xa30850], 1
mov eax, dword [0xa452f8]
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 [0xa452f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa30850], 0
jmp 0x486b83
mov dword [esp], str.command.com__c
call fcn.00462aea
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa45320
call sub.msvcrt.dll_memset
mov dword [0xa45320], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa45364
call sub.msvcrt.dll_memset
mov eax, dword [0xa452a0]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa45364
mov dword [esp + 0x20], 0xa45320
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 0x486b7f
mov dword [0xa30850], 1
mov eax, dword [0xa45364]
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 [0xa45364]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa45368]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa30850], 0
jmp 0x486b83
mov eax, dword [0xa4529c]
test eax, eax
jne 0x486b1a
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x5554ec
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa452a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [0xa30850], 1
mov eax, dword [0xa452a0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa30850], 0
mov eax, dword [0xa4529c]
test eax, eax
jne 0x486b82
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x486b82
nop
jmp 0x486b83
nop
jmp 0x486b83
nop
jmp 0x486b83
nop
jmp 0x486b83
nop
mov eax, dword [0xa45298]
test eax, eax
je 0x486bb8
mov eax, dword [0xa45298]
mov dword [0x539570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6b5548]
test eax, eax
sete al
test al, al
jne 0x486b96
jmp 0x486bb8
nop
mov ebx, dword [ebp - 4]
leave
ret