Function at 0x418740
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.004505e0
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1844]
push esi
push 0x228
push 0
push eax
mov esi, edx
mov dword [ebp - 0x1850], ecx
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 0x1000
lea eax, [ebp - 0x161c]
push 0
push eax
call fcn.00452050
add esp, 0x30
mov dword [ebp - 0x1854], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x184c], eax
cmp eax, 0xffffffff
je 0x4187ff
lea ecx, [ebp - 0x1848]
mov dword [ebp - 0x1848], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x418811
mov eax, dword [ebp - 0x184c]
test eax, eax
je 0x4187ff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f786
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp - 0x184c]
nop dword [eax + eax]
mov eax, dword [ebp - 0x1850]
cmp dword [ebp - 0x1840], eax
je 0x418997
push str.QQ.exe
lea eax, [ebp - 0x1824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x418997
push dword [ebp - 0x1840]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x418991
lea eax, [ebp - 0x1854]
push eax
push 0x1000
lea eax, [ebp - 0x161c]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x41898a
push 0x208
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x161c]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x41898a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x418991
lea eax, [ebp - 0x414]
push 0x484908
push eax
call fcn.0045970a
add esp, 8
test eax, eax
jne 0x418991
push 0x208
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00452050
add esp, 8
lea eax, [ebp - 0x61c]
mov edx, 0x4884b0
lea ecx, [ebp - 0x20c]
push eax
call fcn.004185c0
add esp, 8
test eax, eax
je 0x418963
lea eax, [ebp - 0x61c]
push str.2008
push eax
call fcn.00450ee3
add esp, 8
test eax, eax
je 0x418963
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
je 0x418952
mov eax, dword [ebp - 0x1840]
mov dword [ecx], eax
add dword [ebx + 4], 4
jmp 0x418991
lea eax, [ebp - 0x1840]
push eax
push ecx
mov ecx, ebx
call fcn.00419560
jmp 0x418991
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x418979
mov eax, dword [ebp - 0x1840]
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x418991
lea eax, [ebp - 0x1840]
push eax
push ecx
mov ecx, esi
call fcn.00419560
jmp 0x418991
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x184c]
lea eax, [ebp - 0x1848]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418820
test edi, edi
je 0x4189b8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f786
mov esp, ebp
pop ebp
ret