Function at 0x42a4c0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d23ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42a4fb
xor eax, eax
jmp 0x42a726
mov eax, dword [ebp + 0x1c]
lea edi, [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x42a530
mov eax, dword [edi + 8]
xor esi, esi
cmp eax, ebx
jle 0x42a530
cmp esi, eax
jge 0x42a528
cmp esi, ebx
jl 0x42a528
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
cmp ecx, ebx
je 0x42a528
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x42a514
mov eax, dword [edi + 4]
push eax
call fcn.004bd4c4
push 0x80
call fcn.004bd49b
mov esi, dword [esp + 0x480]
add esp, 8
cmp esi, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0x1f
mov dword [edi + 0x14], 0x40
je 0x42a5ab
test byte [esp + 0x47c], 1
je 0x42a5ab
mov dword [esp + 0x14], ebx
mov eax, esi
push eax
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x368]
push eax
push ecx
call fcn.00471100
add esp, 0xc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x364]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42a5ba
xor eax, eax
jmp 0x42a726
mov dword [esp + 0x14], 1
mov eax, 0x4ee628
jmp 0x42a575
test byte [esp + 0x1c], 0x10
je 0x42a5d5
lea ecx, [esp + 0x48]
push 0x4edf14
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42a648
push 0x40
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x18], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x470], esi
je 0x42a5ff
lea edx, [esp + 0x1c]
mov ecx, eax
push edx
push ebp
call fcn.004247c0
mov esi, eax
push esi
mov ecx, 0x4f6058
mov dword [esp + 0x474], 0xffffffff
call fcn.00426610
mov ebp, eax
mov eax, dword [esi + 0x3c]
push eax
call fcn.004bd4c4
push ebp
call fcn.00470f80
mov ecx, dword [esi + 0x2c]
add esp, 8
or ecx, 0x40
mov dword [esi + 0x3c], eax
mov dword [esi + 0x2c], ecx
push esi
mov ecx, edi
call fcn.00434320
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x478]
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42a5ba
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42a721
test esi, esi
je 0x42a721
cmp byte [esi], 0
je 0x42a721
push 0x4ed910
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42a721
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x15c]
push esi
push edx
call ebx
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov ecx, dword [esp + 0x10]
xor ebp, ebp
mov eax, dword [ecx + 0x14]
test eax, eax
jle 0x42a721
cmp ebp, dword [edi + 8]
jge 0x42a6d1
test ebp, ebp
jl 0x42a6d1
mov edx, dword [edi + 4]
mov esi, dword [edx + ebp*4]
jmp 0x42a6d3
xor esi, esi
mov eax, dword [esi + 0x34]
lea ecx, [esp + 0x260]
push eax
push ecx
call ebx
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [esp + 0x15c]
lea ecx, [esp + 0x260]
push eax
push ecx
call fcn.00472c80
add esp, 8
test eax, eax
mov eax, dword [esi + 0x2c]
je 0x42a712
or al, 0x40
jmp 0x42a714
and al, 0xbf
mov edx, dword [esp + 0x10]
mov dword [esi + 0x2c], eax
inc ebp
cmp ebp, dword [edx + 0x14]
jl 0x42a6c0
mov eax, 1
mov ecx, dword [esp + 0x468]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x464
ret 8