Function at 0x401810
Capabilities:
Enumerate processes
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b6a2
mov eax, dword fs:[0]
push eax
sub esp, 0x264
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 - 0x270], edx
mov dword [ebp - 0x268], ecx
push 0
push 0xf
mov dword [ebp - 0x264], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x25c]
push 0x228
push 0
push eax
mov dword [ebp - 0x26c], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x260], 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 - 0x260]
mov dword [ebp - 4], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401a0b
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, 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 - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4019b4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push dword [ebp - 0x258]
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 ebx, eax
test ebx, ebx
je 0x401998
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x401991
cmp dword [eax + 0x10], 0
je 0x40198a
mov ecx, dword [ebp - 0x268]
cmp dword [eax], ecx
jne 0x40198a
mov edx, dword [ebp - 0x270]
lea esi, [eax + 0x60]
mov ecx, dword [ebp - 0x258]
mov edi, edx
mov dword [ebp - 0x264], ecx
mov ecx, 0x2f
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [eax + 0x10]
mov ecx, dword [ebp - 0x268]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
movups xmmword [edx + 0x30], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edx + 0x40], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [edx + 0x50], xmm0
mov dword [edx + 4], ecx
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [ebp - 0x264], 0
jne 0x401a05
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
je 0x4019ea
cmp dword [ebp - 0x30], 0x12
je 0x4019ea
lea eax, [ebp - 0x34]
push eax
call ebx
lea eax, [ebp - 0x34]
push eax
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x4019c6
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4018c3
mov ebx, dword [ebp - 0x26c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x264]
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