Function at 0x4015c0
Capabilities:
Enumerate process modules
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
push 0x4031cc
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x405408], eax
test eax, eax
jne 0x401615
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x403200
call fcn.00401880
push 0x44c
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401060
jmp 0x401623
push 0x403210
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push 0x405404
push dword [0x405408]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x40164a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x403214
call fcn.00401880
jmp 0x401682
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x403234
push 0x401aa0
push dword [0x405404]
push 0x401020
call fcn.00401880
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [0x405404]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x4053fc], eax
test eax, eax
jne 0x4016ab
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x40324c
jmp 0x4016b6
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x403268
call fcn.00401880
push dword [0x405404]
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401770
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x401770
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Module32Next]
nop dword [eax]
lea eax, [esp + 0x30]
push str.ac_client.exe
push eax
call edi
add esp, 8
test eax, eax
jne 0x401721
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x401700
jmp 0x401770
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x403278
call fcn.00401880
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x403288
push 0x401aa0
push dword [esp + 0x28]
push 0x401040
call fcn.00401880
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esp + 0x24]
mov dword [0x405400], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x405400]
push 0
push 4
push 0x4053f8
add eax, 0x191fcc
push eax
push dword [0x4053fc]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call fcn.004013d0
mov ecx, dword [esp + 0x23c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401acf
mov esp, ebp
pop ebp
ret