Function at 0x41a560
Capabilities:
Check if file exists
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4df0d8
push 0x4655e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2c4c
call fcn.00462a70
mov eax, dword [0x4e949c]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x2c38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c34], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c3c], ecx
test eax, eax
je 0x41a8ee
mov esi, eax
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41a5d0
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x2c44], esi
cmp esi, 4
jl 0x41a8ee
cmp esi, 0x104
jg 0x41a8ee
mov dword [ebp - 0x2c4c], 0
xor edi, edi
mov dword [ebp - 0x2c30], edi
push 0x208
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.00464a00
add esp, 0xc
mov eax, dword [ebp - 0x2c3c]
test eax, eax
je 0x41a684
cmp word [eax], di
je 0x41a684
push eax
push dword [ebp - 0x2c34]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x2c4c], eax
lea edi, [ebp - 0x224]
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x41a660
sub edi, ecx
sar edi, 1
mov dword [ebp - 0x2c30], edi
lea eax, [ebp - 0x224]
push eax
call fcn.00484033
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c38]
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [ebp - 4], 0xfffffffe
jmp 0x41a6bc
push 0x800
push 0
lea eax, [ebp - 0xc2c]
push eax
call fcn.00464a00
mov dword [ebp - 0x2c40], 0
push 0x2000
push 0
lea eax, [ebp - 0x2c2c]
push eax
call fcn.00464a00
add esp, 0x18
lea eax, [ebp - 0x2c40]
push eax
push 0x800
lea eax, [ebp - 0x2c2c]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x41a8ee
push 0x104
push dword [ebp - 0x2c34]
lea eax, [ebp - 0x42c]
push eax
call fcn.0049312c
lea eax, [ebp - 0x42c]
push eax
call fcn.00484033
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2c3c], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c64], xmm0
movq qword [ebp - 0x2c54], xmm0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2c30], eax
test eax, eax
jne 0x41a776
or edx, 0xffffffff
mov dword [ebp - 0x2c34], edx
jmp 0x41a81d
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c44], eax
test eax, eax
jne 0x41a7a3
push dword [ebp - 0x2c30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or edx, 0xffffffff
mov dword [ebp - 0x2c34], edx
jmp 0x41a81d
push dword [ebp - 0x2c3c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2c48], eax
test eax, eax
jne 0x41a7d7
push dword [ebp - 0x2c30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or edx, 0xffffffff
mov dword [ebp - 0x2c34], edx
jmp 0x41a81d
push 0
push 0x18
lea ecx, [ebp - 0x2c64]
push ecx
push 0
push eax
call dword [ebp - 0x2c44]
test eax, eax
mov eax, 0xffffffff
cmove eax, dword [ebp - 0x2c50]
mov dword [ebp - 0x2c34], eax
push dword [ebp - 0x2c48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2c30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x2c34]
xor eax, eax
mov dword [ebp - 0x2c30], eax
cmp dword [ebp - 0x2c40], eax
jbe 0x41a8ee
lea ecx, [ebp - 0x2c2c]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x2c48], ecx
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c3c], ecx
je 0x41a8d5
cmp edx, ecx
je 0x41a8d5
push 0x400
lea eax, [ebp - 0xc2c]
push eax
push ecx
mov ecx, dword [ebp - 0x2c38]
call fcn.0041a440
test eax, eax
je 0x41a8cf
lea eax, [ebp - 0xc2c]
push eax
call fcn.00484033
push esi
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.004930f2
add esp, 0x10
test eax, eax
jne 0x41a8cf
cmp dword [ebp - 0x2c4c], eax
je 0x41a8bc
push edi
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004930f2
add esp, 0xc
test eax, eax
je 0x41a8cf
mov eax, dword [ebp - 0x2c48]
push dword [eax]
push dword [ebp - 0x2c38]
call fcn.0041ad30
mov eax, dword [ebp - 0x2c30]
inc eax
mov dword [ebp - 0x2c30], eax
cmp eax, dword [ebp - 0x2c40]
mov edx, dword [ebp - 0x2c34]
jb 0x41a831
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.00462391
mov esp, ebp
pop ebp
ret 0xc