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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x59f28c]
test eax, eax
jne 0x49fb77
mov eax, dword [0x6afb4c]
test eax, eax
je 0x49f29b
mov dword [esp], 0x106
call fcn.0047a5a4
jmp 0x49fb78
mov eax, dword [0x6cfa48]
mov dword [0xa5f798], eax
mov eax, dword [0xa5f798]
test eax, eax
je 0x49f2d7
mov dword [0x552570], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6cfa48]
test eax, eax
setne al
test al, al
jne 0x49f2b8
mov dword [0xa5f79c], 0
mov eax, dword [0x6afc88]
test eax, eax
je 0x49f2fd
mov eax, dword [0x5522dc]
test eax, eax
je 0x49f2fd
mov dword [0xa5f79c], 1
mov eax, dword [0xa5f7a0]
test eax, eax
jne 0x49f31f
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047bcbe
mov dword [0xa5f7a0], eax
mov eax, dword [0xa5f7a4]
test eax, eax
jne 0x49f341
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047bcbe
mov dword [0xa5f7a4], eax
mov eax, dword [0xa5f7a8]
test eax, eax
jne 0x49f363
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047bcbe
mov dword [0xa5f7a8], eax
mov eax, dword [0xa5f7ac]
test eax, eax
jne 0x49f385
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047bcbe
mov dword [0xa5f7ac], eax
mov eax, dword [0xa5f7b0]
test eax, eax
jne 0x49f3a7
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047bcbe
mov dword [0xa5f7b0], eax
cmp dword [ebp + 0xc], 0
je 0x49f3be
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x49f3be
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x49faca
mov eax, dword [0xa5f79c]
test eax, eax
je 0x49f42f
mov dword [esp + 4], 1
mov dword [esp], 0x56e967
call fcn.0047bb3b
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [0xa4ad50], 1
mov eax, dword [0xa5f7a0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa4ad50], 0
jmp 0x49fb43
call fcn.0049d561
test eax, eax
setne al
test al, al
je 0x49f963
mov eax, dword [0xa5f7a4]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [esp], 0x5675e6
call fcn.0047baaa
mov edx, eax
mov eax, dword [0xa5f7ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov eax, dword [0xa5f7a4]
mov eax, dword [eax + 4]
test eax, eax
je 0x49fb36
mov eax, dword [0xa5f7a4]
mov dword [esp], eax
call fcn.0049d674
test eax, eax
sete al
test al, al
je 0x49f587
mov dword [esp + 4], 1
mov dword [esp], 0x56e967
call fcn.0047bb3b
mov edx, eax
mov eax, dword [0xa5f7a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7a8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa5f7c0
call sub.msvcrt.dll_memset
mov dword [0xa5f7c0], 0x3c
mov eax, dword [0xa5f7a8]
mov eax, dword [eax]
mov dword [0xa5f7d0], eax
mov dword [0xa5f7d4], 0
mov dword [0xa5f7c4], 0x440
mov dword [0xa5f7dc], 5
mov dword [esp], 0xa5f7c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x49f587
mov dword [0xa4ad50], 1
mov eax, dword [0xa5f7f8]
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 [0xa5f7f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa4ad50], 0
jmp 0x49fb43
mov dword [0xa5f7fc], 0
mov dword [0xa5f800], 0
jmp 0x49f665
mov eax, dword [0xa5f7a4]
mov edx, dword [eax]
mov eax, dword [0xa5f7fc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x49f5d4
mov eax, dword [0xa5f800]
test eax, eax
jne 0x49f5ca
mov dword [0xa5f800], 1
jmp 0x49f5d4
mov dword [0xa5f800], 0
mov eax, dword [0xa5f7a4]
mov edx, dword [eax]
mov eax, dword [0xa5f7fc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x49f658
mov eax, dword [0xa5f800]
test eax, eax
jne 0x49f658
mov eax, dword [0xa5f7a4]
mov edx, dword [eax + 4]
mov eax, dword [0xa5f7fc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa5f7a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047ca33
mov edx, eax
mov eax, dword [0xa5f7ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov edx, dword [0xa5f7fc]
mov eax, dword [0xa5f7a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047c96b
mov edx, eax
mov eax, dword [0xa5f7a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
jmp 0x49f67f
mov eax, dword [0xa5f7fc]
add eax, 1
mov dword [0xa5f7fc], eax
mov eax, dword [0xa5f7a4]
mov edx, dword [eax + 4]
mov eax, dword [0xa5f7fc]
cmp edx, eax
setg al
test al, al
jne 0x49f5a0
mov eax, dword [0xa5f7a4]
mov eax, dword [eax + 4]
test eax, eax
je 0x49fb39
mov eax, dword [0xa5f7ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x49f7de
mov eax, dword [0xa5f7a4]
mov dword [esp], eax
call fcn.0049d674
test eax, eax
sete al
test al, al
je 0x49f7de
mov dword [esp + 4], 1
mov dword [esp], 0x56e967
call fcn.0047bb3b
mov edx, eax
mov eax, dword [0xa5f7a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7a8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [esp + 4], 1
mov dword [esp], 0x56e967
call fcn.0047bb3b
mov edx, eax
mov eax, dword [0xa5f7ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7b0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa5f7c0
call sub.msvcrt.dll_memset
mov dword [0xa5f7c0], 0x3c
mov eax, dword [0xa5f7a8]
mov eax, dword [eax]
mov dword [0xa5f7d0], eax
mov eax, dword [0xa5f7b0]
mov eax, dword [eax]
mov dword [0xa5f7d4], eax
mov dword [0xa5f7c4], 0x440
mov dword [0xa5f7dc], 5
mov dword [esp], 0xa5f7c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x49f7de
mov dword [0xa4ad50], 1
mov eax, dword [0xa5f7f8]
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 [0xa5f7f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa4ad50], 0
jmp 0x49fb43
mov eax, dword [0xa5f7ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x49f81b
mov ebx, dword [0xa5f7ac]
mov dword [esp], 0x56e9da
call fcn.0047baaa
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov edx, dword [0xa5f7ac]
mov eax, dword [0xa5f7a4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov ebx, dword [0xa5f7a0]
mov dword [esp], str.__c
call fcn.0047baaa
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [esp + 4], 1
mov dword [esp], 0x56e967
call fcn.0047bb3b
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa5f7c0
call sub.msvcrt.dll_memset
mov dword [0xa5f7c0], 0x3c
mov dword [0xa5f7d0], 0x552936
mov eax, dword [0xa5f7a0]
mov eax, dword [eax]
mov dword [0xa5f7d4], eax
mov dword [0xa5f7c4], 0x440
mov dword [0xa5f7dc], 5
mov dword [esp], 0xa5f7c0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x49fb3c
mov dword [0xa4ad50], 1
mov eax, dword [0xa5f7f8]
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 [0xa5f7f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa4ad50], 0
jmp 0x49fb43
mov dword [esp], str.command.com__c
call fcn.0047baaa
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [esp + 4], 1
mov dword [esp], 0x56e967
call fcn.0047bb3b
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047c5e9
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa5f820
call sub.msvcrt.dll_memset
mov dword [0xa5f820], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa5f864
call sub.msvcrt.dll_memset
mov eax, dword [0xa5f7a0]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa5f864
mov dword [esp + 0x20], 0xa5f820
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 0x49fb3f
mov dword [0xa4ad50], 1
mov eax, dword [0xa5f864]
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 [0xa5f864]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa5f868]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa4ad50], 0
jmp 0x49fb43
mov eax, dword [0xa5f79c]
test eax, eax
jne 0x49fada
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x56ed2c
call fcn.0047bb3b
mov edx, eax
mov eax, dword [0xa5f7a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047be25
mov dword [0xa4ad50], 1
mov eax, dword [0xa5f7a0]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa4ad50], 0
mov eax, dword [0xa5f79c]
test eax, eax
jne 0x49fb42
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x49fb42
nop
jmp 0x49fb43
nop
jmp 0x49fb43
nop
jmp 0x49fb43
nop
jmp 0x49fb43
nop
mov eax, dword [0xa5f798]
test eax, eax
je 0x49fb78
mov eax, dword [0xa5f798]
mov dword [0x552570], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x6cfa48]
test eax, eax
sete al
test al, al
jne 0x49fb56
jmp 0x49fb78
nop
mov ebx, dword [ebp - 4]
leave
ret