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

Disassembly:
mov eax, 0x1420
call fcn.004a7630
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 0x415740
mov cx, word [0x4d74cc]
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 0x415724
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jbe 0x415724
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 0x4156c8
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4156c8
lea eax, [esp + 0x28]
push eax
call ebp
mov ecx, dword [0x4c8080]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], ecx
je 0x415678
mov edx, esi
shr edx, 0x10
jne 0x415646
and esi, 0xffff
lea eax, [esp + 0x230]
mov edi, esi
push 0x100
push eax
push edi
call fcn.00405e80
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x4155fa
lea edx, [esp + 0x230]
lea ecx, [esp + 0x10]
push edx
call fcn.00404b70
jmp 0x415678
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004058b0
test eax, eax
je 0x415639
push esi
push eax
push edi
call fcn.00405e80
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x415639
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.004058b0
test eax, eax
jne 0x415611
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405970
jmp 0x415678
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x415678
push edi
lea ecx, [esp + 0x14]
call fcn.00405a70
test eax, eax
je 0x415678
mov edx, dword [esp + 0x10]
lea eax, [edi + edi]
push eax
lea ecx, [edi + edi + 2]
push esi
push ecx
push edx
call fcn.00404530
add esp, 0x10
mov esi, 0x4b6930
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4156ed
add esi, 4
cmp esi, 0x4b6944
jb 0x41567d
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c8084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4156c8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4156c8
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043b3d0
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 0x415724
mov esi, dword [esp + 0x18]
jmp 0x415568
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c8084]
mov dword [esp + 0x1c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x415724
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415724
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043b3d0
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