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

Disassembly:
mov eax, 0x1420
call fcn.004a0d60
mov eax, dword [esp + 0x1424]
push ebx
push esi
xor ebx, ebx
push eax
push ebx
push 0x410
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x414c80
mov cx, word [0x4cf75c]
push ebp
push edi
mov word [esp + 0x28], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2a]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x434]
push 0x1000
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x414c64
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jbe 0x414c64
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x430]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push 0x104
push edx
mov ecx, dword [eax]
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x414c08
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414c08
lea eax, [esp + 0x28]
push eax
call ebp
mov ecx, dword [0x4c0080]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], ecx
je 0x414bb8
mov edx, esi
shr edx, 0x10
jne 0x414b86
and esi, 0xffff
lea eax, [esp + 0x230]
mov edi, esi
push 0x100
push eax
push edi
call fcn.00404b30
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x414b3a
lea edx, [esp + 0x230]
lea ecx, [esp + 0x10]
push edx
call fcn.00403cc0
jmp 0x414bb8
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00404560
test eax, eax
je 0x414b79
push esi
push eax
push edi
call fcn.00404b30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x414b79
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00404560
test eax, eax
jne 0x414b51
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00404620
jmp 0x414bb8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x414bb8
push edi
lea ecx, [esp + 0x14]
call fcn.00404720
test eax, eax
je 0x414bb8
mov edx, dword [esp + 0x10]
lea eax, [edi + edi]
push eax
lea ecx, [edi + edi + 2]
push esi
push ecx
push edx
call fcn.004039f0
add esp, 0x10
mov esi, 0x4af950
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
add esp, 8
test eax, eax
je 0x414c2d
add esi, 4
cmp esi, 0x4af964
jb 0x414bbd
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414c08
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414c08
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
jae 0x414c64
mov esi, dword [esp + 0x18]
jmp 0x414aa8
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
mov dword [esp + 0x1c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414c64
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414c64
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1420
ret 4
pop esi
mov eax, 1
pop ebx
add esp, 0x1420
ret 4