Function at 0x418c30
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1858
call fcn.004505e0
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0x228
mov dword [ebp - 0x1854], eax
lea eax, [ebp - 0x1844]
push 0
push eax
call fcn.00452050
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00452050
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00452050
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00452050
push 0x1000
lea eax, [ebp - 0x161c]
push 0
push eax
call fcn.00452050
add esp, 0x3c
mov dword [ebp - 0x1850], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x184c], eax
cmp eax, 0xffffffff
je 0x418cfe
lea ecx, [ebp - 0x1848]
mov dword [ebp - 0x1848], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x418d0e
mov eax, dword [ebp - 0x184c]
test eax, eax
je 0x418cfe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f786
mov esp, ebp
pop ebp
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x184c]
mov dword [ebp - 0x1858], eax
push esi
nop dword [eax]
cmp dword [ebp - 0x1840], eax
je 0x418e69
push str.QQApp.exe
lea eax, [ebp - 0x1824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x418e69
push dword [ebp - 0x1840]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x418e69
lea eax, [ebp - 0x1850]
push eax
push 0x1000
lea eax, [ebp - 0x161c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x418eb3
push 0x208
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x161c]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x418eb3
push esi
call edi
push ecx
lea eax, [ebp - 0x414]
mov edx, 0x488498
push eax
lea ecx, [ebp - 0x20c]
call fcn.004185c0
add esp, 8
test eax, eax
je 0x418e69
lea eax, [ebp - 0x414]
push 0x484908
push eax
call fcn.0045970a
add esp, 8
test eax, eax
jne 0x418e69
push ecx
lea eax, [ebp - 0x61c]
mov edx, 0x488480
push eax
lea ecx, [ebp - 0x20c]
call fcn.004185c0
add esp, 8
test eax, eax
je 0x418e69
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x418e43
lea eax, [ebp - 0x61c]
mov ecx, esi
push eax
call fcn.00419320
test eax, eax
mov eax, 1
cmove ebx, eax
add esi, 0x18
cmp esi, edi
jne 0x418e20
test ebx, ebx
jne 0x418e5d
mov ebx, dword [ebp - 0x1854]
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x418ea2
mov eax, dword [ebp - 0x1840]
mov dword [ecx], eax
add dword [ebx + 4], 4
mov ebx, dword [ebp - 0x184c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1848]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
mov eax, dword [ebp - 0x1858]
jne 0x418d30
pop esi
test ebx, ebx
je 0x418e8d
push ebx
call edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.0044f786
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1840]
push eax
push ecx
mov ecx, ebx
call fcn.00419560
jmp 0x418e5d
push esi
call edi
jmp 0x418e69