Function at 0x4174f1
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509c7d
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.004e44f0
push ebx
push esi
push edi
mov eax, dword [0x56d790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x1000
lea eax, [ebp - 0x1034]
push eax
mov dword [ebp - 0x1c], esi
call sub.PSAPI.DLL_EnumProcesses
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
test eax, eax
jne 0x4175b0
push str.CCoreProcess::IsProcessExistByName
call fcn.00401769
mov byte [ebp - 4], 1
push 0x1d3
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.EnumProcesses_failed_
call fcn.00401769
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 0
call fcn.0041129b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x24], esi
call fcn.0040184e
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
lea edi, [ebp - 0x18]
call fcn.00415380
pop ecx
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 8]
call fcn.004043ce
mov byte [ebp - 4], 0
mov ecx, edi
call fcn.00401898
shr dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], esi
mov ebx, 0x104
cmp esi, dword [ebp - 0x1c]
jge 0x417730
push dword [ebp + esi*4 - 0x1034]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x417719
lea ecx, [ebp - 0x14]
call fcn.00404312
mov byte [ebp - 4], 6
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401673
push ebx
push eax
push 0
push dword [ebp - 0x28]
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
ja 0x417691
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.CCoreProcess::IsProcessExistByName
call fcn.00401769
mov byte [ebp - 4], 7
push 0x1e3
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.GetModuleFileNameEx_failed_
call fcn.00401769
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 6
call fcn.0041129b
jmp 0x41770a
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00404286
push 0x522580
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.0041271e
test eax, eax
jge 0x41770a
push str.SystemRoot
xor ecx, ecx
call fcn.0041271e
test eax, eax
jge 0x41770a
push ecx
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 6
lea edi, [ebp - 0x20]
call fcn.00415380
pop ecx
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.004043ce
mov byte [ebp - 4], 6
mov ecx, edi
call fcn.00401898
push dword [ebp - 0x14]
lea ecx, [ebp + 8]
call fcn.00403fee
test eax, eax
jne 0x41770a
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401898
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x18], esi
je 0x4175f1
mov esi, dword [ebp - 0x24]
jmp 0x417592