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

Disassembly:
mov eax, 0x1420
call fcn.0049d320
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 [0x4ab138]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x412b10
mov cx, word [0x4cb5ac]
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 fcn.0049dab6
test eax, eax
je 0x412af4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jbe 0x412af4
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, dword [0x4ab4a0]
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 fcn.0049dab0
test eax, eax
je 0x412a98
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412a98
lea eax, [esp + 0x28]
push eax
call ebp
mov ecx, dword [0x4bc080]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], ecx
je 0x412a48
mov edx, esi
shr edx, 0x10
jne 0x412a16
and esi, 0xffff
lea eax, [esp + 0x230]
mov edi, esi
push 0x100
push eax
push edi
call fcn.00403f30
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x4129ca
lea edx, [esp + 0x230]
lea ecx, [esp + 0x10]
push edx
call fcn.00403510
jmp 0x412a48
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403a10
test eax, eax
je 0x412a09
push esi
push eax
push edi
call fcn.00403f30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x412a09
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403a10
test eax, eax
jne 0x4129e1
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00403ad0
jmp 0x412a48
push esi
call dword [0x4ab204]
mov edi, eax
test edi, edi
je 0x412a48
push edi
lea ecx, [esp + 0x14]
call fcn.00403bd0
test eax, eax
je 0x412a48
mov edx, dword [esp + 0x10]
lea eax, [edi + edi]
push eax
lea ecx, [edi + edi + 2]
push esi
push ecx
push edx
call fcn.00403330
add esp, 0x10
mov esi, 0x4ab930
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
add esp, 8
test eax, eax
je 0x412abd
add esi, 4
cmp esi, 0x4ab944
jb 0x412a4d
mov eax, dword [esp + 0x10]
mov edx, dword [0x4bc084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412a98
add eax, 0xfffffff4
push eax
call dword [0x4ab208]
test eax, eax
jg 0x412a98
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004985d0
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 0x412af4
mov esi, dword [esp + 0x18]
jmp 0x412938
mov eax, dword [esp + 0x10]
mov edx, dword [0x4bc084]
mov dword [esp + 0x1c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412af4
add eax, 0xfffffff4
push eax
call dword [0x4ab208]
test eax, eax
jg 0x412af4
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004985d0
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [0x4ab11c]
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