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

Disassembly:
push 0x3c0
mov eax, 0x473e9d
call fcn.00459c76
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c8], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x3cc], ebx
call fcn.0043bdc9
and dword [ebp - 4], 0
lea eax, [ebp - 0x94]
call fcn.0043bdc9
lea eax, [ebp - 0xb4]
call fcn.0043bdc9
lea eax, [ebp - 0x54]
call fcn.0043bdc9
lea eax, [ebp - 0x74]
call fcn.0043bdc9
lea esi, [ebp - 0x16c]
mov byte [ebp - 4], 4
call fcn.00441ad6
mov byte [ebp - 4], 5
test edi, edi
je 0x442a6d
cmp word [edi], 0
je 0x442a6d
test ebx, ebx
je 0x442a6d
cmp word [ebx], 0
je 0x442a6d
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
call esi
push ebx
mov dword [ebp - 0x3c0], eax
call esi
cmp dword [ebp - 0x3c0], 0xffffffff
jne 0x442847
xor edi, edi
lea esi, [ebp - 0x16c]
mov byte [ebp - 4], 4
call fcn.0043dee5
lea eax, [ebp - 0x74]
call fcn.0043b39a
lea eax, [ebp - 0x54]
call fcn.0043b39a
lea eax, [ebp - 0xb4]
call fcn.0043b39a
lea eax, [ebp - 0x94]
call fcn.0043b39a
lea eax, [ebp - 0x34]
call fcn.0043b39a
mov eax, edi
jmp 0x442aac
mov edx, dword [ebp - 0x3c0]
push 0x10
pop ecx
and edx, ecx
cmp dl, cl
je 0x44286a
push dword [ebp - 0x3c8]
mov edx, ebx
mov ecx, edi
call fcn.0044240d
pop ecx
mov edi, eax
jmp 0x442803
cmp eax, 0xffffffff
je 0x4429aa
and eax, ecx
cmp al, cl
je 0x44288f
lea edx, [ebp - 0x16c]
mov ecx, ebx
call fcn.00441e32
test eax, eax
je 0x44288f
cmp eax, 0xfffffffa
jne 0x442866
push edi
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00447e69
add esp, 0xc
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.004095cb
xor ebx, ebx
push 0x5c
inc ebx
lea esi, [ebp - 0x34]
call fcn.0040c1c7
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x94]
call fcn.0040cb6f
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x4428d8
lea ecx, [ebp - 0x30]
call fcn.00448625
mov dword [ebp - 0x3c0], eax
test eax, eax
jne 0x442866
push edi
lea eax, [ebp - 0x74]
push eax
call fcn.004095cb
push 0x5c
lea esi, [ebp - 0x74]
call fcn.0040c1c7
mov edi, esi
lea esi, [ebp - 0x54]
call fcn.0043ba47
push 0x2a
call fcn.0040c1c7
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x44291c
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x3bc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x3c4], eax
cmp eax, 0xffffffff
je 0x442a28
lea esi, [ebp - 0x390]
call fcn.00447c9a
test al, al
jne 0x442a04
push dword [ebp - 0x3cc]
lea eax, [ebp - 0x34]
push eax
call fcn.004095cb
push 0x5c
lea esi, [ebp - 0x34]
call fcn.0040c1c7
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x94]
call fcn.0040cb6f
push 0x5c
call fcn.0040c1c7
lea eax, [ebp - 0x390]
push eax
mov eax, esi
push eax
call fcn.0040baa6
mov eax, dword [ebp - 0x3bc]
and eax, 0x10
cmp al, 0x10
jne 0x4429b8
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x4429a3
lea ecx, [ebp - 0x30]
call fcn.00448625
jmp 0x4429fa
mov ecx, ebx
call fcn.00448625
test eax, eax
jmp 0x44288d
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x54]
call fcn.0043ba47
lea eax, [ebp - 0x390]
push eax
mov eax, esi
push eax
call fcn.0040baa6
cmp dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x30]
jae 0x4429de
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x4429ea
lea eax, [ebp - 0x50]
push dword [ebp - 0x3c8]
push ecx
push eax
call fcn.00442759
add esp, 0xc
mov dword [ebp - 0x3c0], eax
test eax, eax
jne 0x442a1c
lea eax, [ebp - 0x3bc]
push eax
push dword [ebp - 0x3c4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x442939
push dword [ebp - 0x3c4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp - 0x16c]
mov byte [ebp - 4], 4
call fcn.0043dee5
lea eax, [ebp - 0x74]
call fcn.0043b39a
lea eax, [ebp - 0x54]
call fcn.0043b39a
lea eax, [ebp - 0xb4]
call fcn.0043b39a
lea eax, [ebp - 0x94]
call fcn.0043b39a
lea eax, [ebp - 0x34]
call fcn.0043b39a
mov eax, dword [ebp - 0x3c0]
jmp 0x442aac
lea esi, [ebp - 0x16c]
mov byte [ebp - 4], 4
call fcn.0043dee5
lea eax, [ebp - 0x74]
call fcn.0043b39a
lea eax, [ebp - 0x54]
call fcn.0043b39a
lea eax, [ebp - 0xb4]
call fcn.0043b39a
lea eax, [ebp - 0x94]
call fcn.0043b39a
lea eax, [ebp - 0x34]
call fcn.0043b39a
xor eax, eax
call fcn.00459cf9
ret