Function at 0x41a150
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5178d0
push 0x472a40
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a3c
call fcn.004278a0
mov eax, dword [0x527354]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2a28], edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2a38], ecx
test edi, edi
je 0x41a448
mov esi, edi
lea edx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41a1b0
sub esi, edx
sar esi, 1
mov dword [ebp - 0x2a2c], esi
cmp esi, 4
jl 0x41a448
cmp esi, 0x104
jg 0x41a448
test ecx, ecx
je 0x41a1e4
mov dword [ecx], 0
mov dword [ebp - 4], 0
call fcn.00419ec0
mov dword [ebp - 4], 0xfffffffe
jmp 0x41a215
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.004717b0
mov dword [ebp - 0x2a34], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.004717b0
add esp, 0x18
lea eax, [ebp - 0x2a34]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x41a448
push 0x104
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.0049dce7
lea eax, [ebp - 0x224]
push eax
call fcn.0049a2a2
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2a30], eax
or edi, 0xffffffff
xorps xmm0, xmm0
movups xmmword [ebp - 0x2a54], xmm0
movq qword [ebp - 0x2a44], xmm0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2a2c], eax
test eax, eax
jne 0x41a2cd
or ecx, 0xffffffff
mov dword [ebp - 0x2a28], ecx
jmp 0x41a36b
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2a28], eax
test eax, eax
jne 0x41a2fa
push dword [ebp - 0x2a2c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2a28], ecx
jmp 0x41a36b
push dword [ebp - 0x2a30]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2a3c], eax
test eax, eax
jne 0x41a32e
push dword [ebp - 0x2a2c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2a28], ecx
jmp 0x41a36b
push 0
push 0x18
lea ecx, [ebp - 0x2a54]
push ecx
push 0
push eax
call dword [ebp - 0x2a28]
test eax, eax
cmove edi, dword [ebp - 0x2a40]
mov dword [ebp - 0x2a28], edi
push dword [ebp - 0x2a3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2a2c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
xor edi, edi
cmp dword [ebp - 0x2a34], edi
jbe 0x41a438
mov edx, dword [ebp - 0x2a30]
nop
mov eax, dword [ebp + edi*4 - 0x2a24]
cmp edx, eax
je 0x41a425
cmp ecx, eax
je 0x41a425
push 0x400
lea ecx, [ebp - 0xa24]
push ecx
push eax
call fcn.0041a000
add esp, 0xc
test eax, eax
je 0x41a41f
lea eax, [ebp - 0xa24]
push eax
call fcn.0049a2a2
push esi
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0049dcad
add esp, 0x10
test eax, eax
jne 0x41a41f
push dword [ebp + edi*4 - 0x2a24]
push eax
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2a2c], eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.0041a900
mov eax, dword [ebp - 0x2a2c]
test eax, eax
je 0x41a41f
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x2a2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2a30]
inc edi
cmp edi, dword [ebp - 0x2a34]
mov ecx, dword [ebp - 0x2a28]
jb 0x41a380
mov eax, dword [ebp - 0x2a38]
test eax, eax
je 0x41a448
mov dword [eax], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042788a
mov esp, ebp
pop ebp
ret 8