Function at 0x401a40
Capabilities:
Enumerate processes
Read file via mapping
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b6e2
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x412014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x294], ecx
push 0
push 0xf
mov dword [ebp - 0x298], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x28c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x290], 0x22c
lea ecx, [ebp - 0x18]
push 0x40daa8
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
lea eax, [ebp - 0x290]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401cb3
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x401c40
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push dword [ebp - 0x288]
push str.QQSPEEDMONITOR_d
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
add esp, 0xc
push dword [ebp - 0x14]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x401c24
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x401c17
cmp dword [esi + 0x10], 0
mov ecx, dword [ebp - 0x294]
jne 0x401bfb
cmp dword [esi], ecx
jne 0x401bf5
push dword [ebp - 0x288]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x401be9
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push ecx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00408960
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub eax, dword [ebp - 0x2a4]
add esp, 4
cmp eax, 0x1d4c0
ja 0x401c93
mov ecx, dword [ebp - 0x294]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [esi + 0x10], 0
je 0x401c10
mov eax, dword [ebp - 0x298]
cmp dword [esi], ecx
cmove eax, dword [ebp - 0x288]
mov dword [ebp - 0x298], eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [ebp - 0x298], 0
jne 0x401cb3
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call ebx
test eax, eax
je 0x401c76
cmp dword [ebp - 0x38], 0x12
je 0x401c76
lea eax, [ebp - 0x3c]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call ebx
test eax, eax
jne 0x401c52
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401af0
jmp 0x401cb3
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a775
mov esp, ebp
pop ebp
ret