Function at 0x4c3030
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb688
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1474
call fcn.00494470
mov eax, dword [0x5142b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1474], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1028], 0
push 0xffc
push 0
lea eax, [ebp - 0x1024]
push eax
call fcn.00492ac0
add esp, 0xc
mov dword [ebp - 0x1244], 0
mov ecx, dword [str._unknown_]
mov dword [ebp - 0x1230], ecx
mov edx, dword [0x4f9898]
mov dword [ebp - 0x122c], edx
mov eax, dword [0x4f989c]
mov dword [ebp - 0x1228], eax
mov ecx, dword [0x4f98a0]
mov dword [ebp - 0x1224], ecx
mov edx, dword [0x4f98a4]
mov dword [ebp - 0x1220], edx
push 0x1f4
push 0
lea eax, [ebp - 0x121c]
push eax
call fcn.00492ac0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x50], edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4c313a
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CProcessNotify::GetProcessEnumQueueInfo__:_Error_in_OpenProcess___error____d_process_id____d_n
call fcn.00423ad0
add esp, 0xc
mov eax, 6
jmp 0x4c3559
lea edx, [ebp - 0x1254]
push edx
lea eax, [ebp - 0x1238]
push eax
lea ecx, [ebp - 0x1240]
push ecx
lea edx, [ebp - 0x124c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
jne 0x4c31d4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CProcessNotify::GetProcessEnumQueueInfo__:_Error_in_GetProcessTimes___error____d_process_id____d_n
call fcn.00423ad0
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x124c]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x4c31d4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CProcessNotify::GetProcessEnumQueueInfo__:_Error_in_SystemTimeToFileTime___error____d_process_id____d_n
call fcn.00423ad0
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x4c31ca
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov eax, 0x76d
jmp 0x4c3559
mov ecx, dword [ebp + 0xc]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x1248]
push edx
mov eax, dword [ebp - 0x124c]
push eax
call fcn.004b6dc0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x123c]
push edx
mov eax, dword [ebp - 0x1240]
push eax
call fcn.004b6dc0
add esp, 0xc
lea ecx, [ebp - 0x1244]
push ecx
push 0x1000
lea edx, [ebp - 0x1028]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4c3369
push 0x104
lea ecx, [ebp - 0x1230]
push ecx
mov edx, dword [ebp - 0x1028]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x4c3298
push 0x4f996c
lea ecx, [ebp - 0x1230]
push ecx
call fcn.0048ef4d
add esp, 8
test eax, eax
je 0x4c3296
push 0x4f99d8
lea edx, [ebp - 0x1230]
push edx
call fcn.0048ef4d
add esp, 8
test eax, eax
je 0x4c3296
lea eax, [ebp - 0x1230]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.00401f20
jmp 0x4c32d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._CProcessNotify::GetProcessEnumQueueInfo__:_Error_in_GetModuleBaseName_for_ProcessId____d_Error____d_n
call fcn.00423ad0
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x4c32c7
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov eax, 0x7b
jmp 0x4c3559
push 0x104
push 0
lea eax, [ebp - 0x1230]
push eax
call fcn.00402b30
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x1230]
push ecx
mov edx, dword [ebp - 0x1028]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x4c334c
push 0x4f99dc
lea ecx, [ebp - 0x1230]
push ecx
call fcn.0048ef4d
add esp, 8
test eax, eax
je 0x4c334a
push 0x4f9a48
lea edx, [ebp - 0x1230]
push edx
call fcn.0048ef4d
add esp, 8
test eax, eax
je 0x4c334a
lea eax, [ebp - 0x1230]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x28
call fcn.00401f20
jmp 0x4c3364
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._CProcessNotify::GetProcessEnumQueueInfo__:_Error_in_GetModuleFileNameEx_for_ProcessId____d_Error____d_n
call fcn.00423ad0
add esp, 0xc
jmp 0x4c34b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push str._CProcessNotify::GetProcessEnumQueueInfo__:_Error_in_EnumProcessModules_for_ProcessId____d_Error____d__n
call fcn.00423ad0
add esp, 0xc
push 0x208
lea eax, [ebp - 0x1460]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004b68b0
add esp, 0xc
test eax, eax
je 0x4c347d
lea edx, [ebp - 0x1460]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.00401f20
push 0x5c
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.00403fe0
mov dword [ebp - 0x1464], eax
cmp dword [ebp - 0x1464], 0xffffffff
je 0x4c342e
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.00401880
push eax
mov eax, dword [ebp - 0x1464]
add eax, 1
push eax
lea ecx, [ebp - 0x1468]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.00404080
mov dword [ebp - 0x1478], eax
mov edx, dword [ebp - 0x1478]
mov dword [ebp - 0x147c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x147c]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.00403fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1468]
call fcn.00401ed0
lea ecx, [ebp - 0x1460]
push ecx
lea edx, [ebp - 0x146c]
push edx
call fcn.004c2d40
add esp, 8
mov dword [ebp - 0x1480], eax
mov eax, dword [ebp - 0x1480]
mov dword [ebp - 0x1484], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1484]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x28
call fcn.00403fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x146c]
call fcn.00401ed0
jmp 0x4c34b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push str._CProcessNotify::GetProcessEnumQueueInfo__:_Error_in_GetProcessImageFileName_for_ProcessId____d_Error____d__n
call fcn.00423ad0
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x4c34ac
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov eax, 0x7b
jmp 0x4c3559
mov ecx, dword [ebp + 0xc]
add ecx, 0x38
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x34
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004bbbd0
add esp, 0x10
mov edx, dword [ebp + 0xc]
add edx, 0x3c
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004b97a0
add esp, 8
mov ecx, dword [ebp + 0xc]
add ecx, 0x54
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [ebp - 0x28], 0
je 0x4c3512
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
xor eax, eax
jmp 0x4c3559
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret 8