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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5267d0
push 0x49b3f0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2c4c
call fcn.0046ac60
mov eax, dword [0x5374e4]
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 0x41c9be
mov esi, eax
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41c6a0
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x2c44], esi
cmp esi, 4
jl 0x41c9be
cmp esi, 0x104
jg 0x41c9be
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.0049a810
add esp, 0xc
mov eax, dword [ebp - 0x2c3c]
test eax, eax
je 0x41c754
cmp word [eax], di
je 0x41c754
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 0x41c730
sub edi, ecx
sar edi, 1
mov dword [ebp - 0x2c30], edi
lea eax, [ebp - 0x224]
push eax
call fcn.004b9e44
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 0x41c78c
push 0x800
push 0
lea eax, [ebp - 0xc2c]
push eax
call fcn.0049a810
mov dword [ebp - 0x2c40], 0
push 0x2000
push 0
lea eax, [ebp - 0x2c2c]
push eax
call fcn.0049a810
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 0x41c9be
push 0x104
push dword [ebp - 0x2c34]
lea eax, [ebp - 0x42c]
push eax
call fcn.004c8f3c
lea eax, [ebp - 0x42c]
push eax
call fcn.004b9e44
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 0x41c846
or edx, 0xffffffff
mov dword [ebp - 0x2c34], edx
jmp 0x41c8ed
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c44], eax
test eax, eax
jne 0x41c873
push dword [ebp - 0x2c30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or edx, 0xffffffff
mov dword [ebp - 0x2c34], edx
jmp 0x41c8ed
push dword [ebp - 0x2c3c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2c48], eax
test eax, eax
jne 0x41c8a7
push dword [ebp - 0x2c30]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or edx, 0xffffffff
mov dword [ebp - 0x2c34], edx
jmp 0x41c8ed
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 0x41c9be
lea ecx, [ebp - 0x2c2c]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x2c48], ecx
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c3c], ecx
je 0x41c9a5
cmp edx, ecx
je 0x41c9a5
push 0x400
lea eax, [ebp - 0xc2c]
push eax
push ecx
mov ecx, dword [ebp - 0x2c38]
call fcn.0041c510
test eax, eax
je 0x41c99f
lea eax, [ebp - 0xc2c]
push eax
call fcn.004b9e44
push esi
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.004c8f02
add esp, 0x10
test eax, eax
jne 0x41c99f
cmp dword [ebp - 0x2c4c], eax
je 0x41c98c
push edi
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004c8f02
add esp, 0xc
test eax, eax
je 0x41c99f
mov eax, dword [ebp - 0x2c48]
push dword [eax]
push dword [ebp - 0x2c38]
call fcn.0041ce00
mov eax, dword [ebp - 0x2c30]
inc eax
mov dword [ebp - 0x2c30], eax
cmp eax, dword [ebp - 0x2c40]
mov edx, dword [ebp - 0x2c34]
jb 0x41c901
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.0046a581
mov esp, ebp
pop ebp
ret 0xc