Function at 0x4f1cd0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13d8
call fcn.004f04f0
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 0xfb0], eax
mov dword [ebp - 0xfa8], 0
push 0xf9c
push 0
lea eax, [ebp - 0xfa4]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x11c4], 0
mov dword [ebp - 0xfac], 0
mov word [ebp - 0x11b8], 0
push 0x206
push 0
lea ecx, [ebp - 0x11b6]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x11bc], 0
mov dword [ebp - 0x11c0], 0
lea edx, [ebp - 0x11c4]
push edx
push 0xfa0
lea eax, [ebp - 0xfa8]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4f1d7d
cmp dword [ebp - 0x11c4], 0
jne 0x4f1d84
xor eax, eax
jmp 0x4f1f4b
mov ecx, dword [ebp - 0x11c4]
shr ecx, 2
mov dword [ebp - 0xfac], ecx
mov dword [ebp - 0x11c8], 0
jmp 0x4f1dae
mov edx, dword [ebp - 0x11c8]
add edx, 1
mov dword [ebp - 0x11c8], edx
mov eax, dword [ebp - 0x11c8]
cmp eax, dword [ebp - 0xfac]
jae 0x4f1f49
mov ecx, dword [ebp - 0x11c8]
mov edx, dword [ebp + ecx*4 - 0xfa8]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4f1f44
mov dword [ebp - 0x11bc], 0
push 0x208
push 0
lea eax, [ebp - 0x11b8]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x11c4]
push ecx
push 4
lea edx, [ebp - 0x11bc]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4f1f33
push 0x104
lea ecx, [ebp - 0x11b8]
push ecx
mov edx, dword [ebp - 0x11bc]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x4f1f33
push 0x524f58
lea ecx, [ebp - 0x11b8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4f1e6f
mov dword [ebp - 0x11c0], 1
jmp 0x4f1eb1
push str.QQPCTray.exe
lea edx, [ebp - 0x11b8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4f1e91
mov dword [ebp - 0x11c0], 1
jmp 0x4f1eb1
push str.QQPCRTP.exe
lea eax, [ebp - 0x11b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4f1eb1
mov dword [ebp - 0x11c0], 1
cmp dword [ebp - 0x11c0], 0
je 0x4f1f33
mov word [ebp - 0x13d8], 0
push 0x208
push 0
lea ecx, [ebp - 0x13d6]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x13d8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
lea ecx, [ebp - 0x13d8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x13d8]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x524fa4
mov ecx, dword [ebp + 8]
call dword [0x509758]
mov eax, 1
jmp 0x4f1f4b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
jmp 0x4f1d9f
xor eax, eax
mov ecx, dword [ebp - 0xfb0]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret