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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518e77
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push ebx
push eax
call fcn.00429940
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
call fcn.0042ccc0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x42a290
cmp dword [ebp - 0x44], 8
jb 0x42a273
push dword [ebp - 0x58]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.0041b9d0
cmp dword [ebp - 0x74], 8
jb 0x42a2a4
push dword [ebp - 0x88]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 2
jb 0x42a2d0
push dword [ebp - 0x70]
call fcn.00406890
add esp, 4
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a4b5
test al, 0x10
je 0x42a4b5
cmp byte [ebp + 0x10], 0
je 0x42a301
push ebx
mov ecx, edi
call fcn.0041c270
push 0x525570
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00434600
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x42a34d
cmp dword [ebp - 0x2c], 8
jb 0x42a330
push dword [ebp - 0x40]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0041b9d0
cmp dword [ebp - 0x5c], 8
jb 0x42a35e
push dword [ebp - 0x70]
call fcn.00406890
add esp, 4
push 0x250
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.00455160
add esp, 0xc
lea ecx, [ebp - 0x2d8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42a4b5
jmp 0x42a3a0
lea ecx, [ebp - 0x2ac]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a3b0
sub ecx, edx
lea eax, [ebp - 0x2ac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004197f0
push 1
push 0x524b38
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.0041c160
test eax, eax
je 0x42a482
push 2
push 0x524b3c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.0041c160
test eax, eax
je 0x42a482
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00434540
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42a44e
cmp dword [ebp - 0x14], 8
jb 0x42a431
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0041b9d0
cmp dword [ebp - 0x5c], 8
jb 0x42a45f
push dword [ebp - 0x70]
call fcn.00406890
add esp, 4
test byte [ebp - 0x2d8], 0x10
je 0x42a482
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041c270
push 0
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0042a1d0
add esp, 0xc
push 0x140
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.00455160
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42a3a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
jb 0x42a4c6
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x42a4eb
push dword [ebp - 0x40]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x42a510
push dword [ebp - 0x58]
call fcn.00406890
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret