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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518e2f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
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 + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.00429860
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
call fcn.0042cc10
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x429ede
cmp dword [ebp - 0x44], 0x10
jb 0x429ec3
push dword [ebp - 0x58]
call fcn.00406890
add esp, 4
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00405cd0
cmp dword [ebp - 0x74], 0x10
jb 0x429ef2
push dword [ebp - 0x88]
call fcn.00406890
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 2
jb 0x429f1c
push dword [ebp - 0x70]
call fcn.00406890
add esp, 4
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42a157
test al, 0x10
je 0x42a157
cmp byte [ebp + 0x10], 0
je 0x429f4d
push edi
mov ecx, ebx
call fcn.00435830
push 0x525568
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00405a00
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x429f97
cmp dword [ebp - 0x2c], 0x10
jb 0x429f7c
push dword [ebp - 0x40]
call fcn.00406890
add esp, 4
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00405cd0
cmp dword [ebp - 0x5c], 0x10
jb 0x429fa8
push dword [ebp - 0x70]
call fcn.00406890
add esp, 4
push 0x140
lea eax, [ebp - 0x1c8]
push 0
push eax
call fcn.00455160
add esp, 0xc
lea ecx, [ebp - 0x1c8]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x1cc], ebx
cmp ebx, 0xffffffff
je 0x42a157
jmp 0x429ff0
lea eax, [ebp - 0x19c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42a000
sub eax, edx
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00405b80
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x18]
mov eax, 1
cmovae ecx, ebx
cmp esi, eax
cmovb eax, esi
push eax
push 0x525210
push ecx
call fcn.00408810
add esp, 0xc
test eax, eax
jne 0x42a05b
cmp esi, 1
jb 0x42a05b
cmp esi, 1
setne al
test eax, eax
je 0x42a11e
cmp edi, 0x10
lea ecx, [ebp - 0x28]
mov eax, 2
cmovae ecx, ebx
cmp esi, eax
cmovb eax, esi
push eax
push 0x52556c
push ecx
call fcn.00408810
add esp, 0xc
test eax, eax
jne 0x42a09b
cmp esi, 2
jae 0x42a08b
or eax, 0xffffffff
jmp 0x42a093
xor eax, eax
cmp esi, 2
setne al
test eax, eax
je 0x42a11e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00434450
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42a0e4
cmp dword [ebp - 0x14], 0x10
jb 0x42a0c9
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00405cd0
cmp dword [ebp - 0x5c], 0x10
jb 0x42a0f5
push dword [ebp - 0x70]
call fcn.00406890
add esp, 4
test byte [ebp - 0x1c8], 0x10
je 0x42a11e
mov ebx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.00435830
push 0
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00429e10
add esp, 0xc
push 0x140
lea eax, [ebp - 0x1c8]
push 0
push eax
call fcn.00455160
mov ebx, dword [ebp - 0x1cc]
lea eax, [ebp - 0x1c8]
add esp, 0xc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x429ff0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 0x10
jb 0x42a168
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x42a18b
push dword [ebp - 0x40]
call fcn.00406890
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x42a1ae
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