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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [0x51d26c]
test eax, eax
jne 0x437cd0
mov eax, dword [0x62db2c]
test eax, eax
je 0x4373f4
mov dword [esp], 0x106
call fcn.004130bc
jmp 0x437cd1
mov eax, dword [0x70b040]
mov dword [0xa9ae58], eax
mov eax, dword [0xa9ae58]
test eax, eax
je 0x437430
mov dword [0x4e4534], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x70b040]
test eax, eax
setne al
test al, al
jne 0x437411
mov dword [0xa9ae5c], 0
mov eax, dword [0x62db54]
test eax, eax
je 0x437456
mov eax, dword [0x4e429c]
test eax, eax
je 0x437456
mov dword [0xa9ae5c], 1
mov eax, dword [0xa9ae60]
test eax, eax
jne 0x437478
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414817
mov dword [0xa9ae60], eax
mov eax, dword [0xa9ae64]
test eax, eax
jne 0x43749a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414817
mov dword [0xa9ae64], eax
mov eax, dword [0xa9ae68]
test eax, eax
jne 0x4374bc
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414817
mov dword [0xa9ae68], eax
mov eax, dword [0xa9ae6c]
test eax, eax
jne 0x4374de
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414817
mov dword [0xa9ae6c], eax
mov eax, dword [0xa9ae70]
test eax, eax
jne 0x437500
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414817
mov dword [0xa9ae70], eax
cmp dword [ebp + 0xc], 0
je 0x437517
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x437517
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x437c23
mov eax, dword [0xa9ae5c]
test eax, eax
je 0x437588
mov dword [esp + 4], 1
mov dword [esp], 0x4ee2c3
call fcn.00414694
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [0xa86218], 1
mov eax, dword [0xa9ae60]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa86218], 0
jmp 0x437c9c
call fcn.00435779
test eax, eax
setne al
test al, al
je 0x437abc
mov eax, dword [0xa9ae64]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [esp], 0x4ee336
call fcn.00414603
mov edx, eax
mov eax, dword [0xa9ae6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov eax, dword [0xa9ae64]
mov eax, dword [eax + 4]
test eax, eax
je 0x437c8f
mov eax, dword [0xa9ae64]
mov dword [esp], eax
call fcn.0043588c
test eax, eax
sete al
test al, al
je 0x4376e0
mov dword [esp + 4], 1
mov dword [esp], 0x4ee2c3
call fcn.00414694
mov edx, eax
mov eax, dword [0xa9ae64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae68]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9ae80
call sub.msvcrt.dll_memset
mov dword [0xa9ae80], 0x3c
mov eax, dword [0xa9ae68]
mov eax, dword [eax]
mov dword [0xa9ae90], eax
mov dword [0xa9ae94], 0
mov dword [0xa9ae84], 0x440
mov dword [0xa9ae9c], 5
mov dword [esp], 0xa9ae80
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x4376e0
mov dword [0xa86218], 1
mov eax, dword [0xa9aeb8]
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 [0xa9aeb8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa86218], 0
jmp 0x437c9c
mov dword [0xa9aebc], 0
mov dword [0xa9aec0], 0
jmp 0x4377be
mov eax, dword [0xa9ae64]
mov edx, dword [eax]
mov eax, dword [0xa9aebc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x43772d
mov eax, dword [0xa9aec0]
test eax, eax
jne 0x437723
mov dword [0xa9aec0], 1
jmp 0x43772d
mov dword [0xa9aec0], 0
mov eax, dword [0xa9ae64]
mov edx, dword [eax]
mov eax, dword [0xa9aebc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x4377b1
mov eax, dword [0xa9aec0]
test eax, eax
jne 0x4377b1
mov eax, dword [0xa9ae64]
mov edx, dword [eax + 4]
mov eax, dword [0xa9aebc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa9ae64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415624
mov edx, eax
mov eax, dword [0xa9ae6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov edx, dword [0xa9aebc]
mov eax, dword [0xa9ae64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041555c
mov edx, eax
mov eax, dword [0xa9ae64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
jmp 0x4377d8
mov eax, dword [0xa9aebc]
add eax, 1
mov dword [0xa9aebc], eax
mov eax, dword [0xa9ae64]
mov edx, dword [eax + 4]
mov eax, dword [0xa9aebc]
cmp edx, eax
setg al
test al, al
jne 0x4376f9
mov eax, dword [0xa9ae64]
mov eax, dword [eax + 4]
test eax, eax
je 0x437c92
mov eax, dword [0xa9ae6c]
mov eax, dword [eax + 4]
test eax, eax
je 0x437937
mov eax, dword [0xa9ae64]
mov dword [esp], eax
call fcn.0043588c
test eax, eax
sete al
test al, al
je 0x437937
mov dword [esp + 4], 1
mov dword [esp], 0x4ee2c3
call fcn.00414694
mov edx, eax
mov eax, dword [0xa9ae64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae68]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [esp + 4], 1
mov dword [esp], 0x4ee2c3
call fcn.00414694
mov edx, eax
mov eax, dword [0xa9ae6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae70]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9ae80
call sub.msvcrt.dll_memset
mov dword [0xa9ae80], 0x3c
mov eax, dword [0xa9ae68]
mov eax, dword [eax]
mov dword [0xa9ae90], eax
mov eax, dword [0xa9ae70]
mov eax, dword [eax]
mov dword [0xa9ae94], eax
mov dword [0xa9ae84], 0x440
mov dword [0xa9ae9c], 5
mov dword [esp], 0xa9ae80
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x437937
mov dword [0xa86218], 1
mov eax, dword [0xa9aeb8]
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 [0xa9aeb8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa86218], 0
jmp 0x437c9c
mov eax, dword [0xa9ae6c]
mov eax, dword [eax + 4]
test eax, eax
je 0x437974
mov ebx, dword [0xa9ae6c]
mov dword [esp], 0x4ee337
call fcn.00414603
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae6c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov edx, dword [0xa9ae6c]
mov eax, dword [0xa9ae64]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov ebx, dword [0xa9ae60]
mov dword [esp], str.__c
call fcn.00414603
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [esp + 4], 1
mov dword [esp], 0x4ee2c3
call fcn.00414694
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa9ae80
call sub.msvcrt.dll_memset
mov dword [0xa9ae80], 0x3c
mov dword [0xa9ae90], 0x4e4846
mov eax, dword [0xa9ae60]
mov eax, dword [eax]
mov dword [0xa9ae94], eax
mov dword [0xa9ae84], 0x440
mov dword [0xa9ae9c], 5
mov dword [esp], 0xa9ae80
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x437c95
mov dword [0xa86218], 1
mov eax, dword [0xa9aeb8]
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 [0xa9aeb8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa86218], 0
jmp 0x437c9c
mov dword [esp], str.command.com__c
call fcn.00414603
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [esp + 4], 1
mov dword [esp], 0x4ee2c3
call fcn.00414694
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00415142
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa9aee0
call sub.msvcrt.dll_memset
mov dword [0xa9aee0], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa9af24
call sub.msvcrt.dll_memset
mov eax, dword [0xa9ae60]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa9af24
mov dword [esp + 0x20], 0xa9aee0
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 0x437c98
mov dword [0xa86218], 1
mov eax, dword [0xa9af24]
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 [0xa9af24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa9af28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [0xa86218], 0
jmp 0x437c9c
mov eax, dword [0xa9ae5c]
test eax, eax
jne 0x437c33
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 4], 4
mov dword [esp], 0x4ee516
call fcn.00414694
mov edx, eax
mov eax, dword [0xa9ae60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0041497e
mov dword [0xa86218], 1
mov eax, dword [0xa9ae60]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_system
mov dword [0xa86218], 0
mov eax, dword [0xa9ae5c]
test eax, eax
jne 0x437c9b
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
jmp 0x437c9b
nop
jmp 0x437c9c
nop
jmp 0x437c9c
nop
jmp 0x437c9c
nop
jmp 0x437c9c
nop
mov eax, dword [0xa9ae58]
test eax, eax
je 0x437cd1
mov eax, dword [0xa9ae58]
mov dword [0x4e4534], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [0x70b040]
test eax, eax
sete al
test al, al
jne 0x437caf
jmp 0x437cd1
nop
mov ebx, dword [ebp - 4]
leave
ret