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

Disassembly:
push 0xc94
mov eax, 0x503959
call fcn.004e6cea
mov dword [ebp - 0xca0], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc90], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0xc9c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46c62f
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push eax
call fcn.004deff0
lea ecx, [ebp - 0x62c]
add esp, 0xc
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x46c39c
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x46c3e6
test bl, 0x10
je 0x46c62f
lea edi, [ebp - 0x62c]
sub edi, 2
xor ebx, ebx
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x46c3d1
mov eax, dword [0x513338]
mov dword [edi], eax
jmp 0x46c3e8
xor ebx, ebx
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.004deff0
add esp, 0xc
mov ecx, ebx
movzx eax, word [ebp + ecx - 0x62c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21e], ax
test ax, ax
jne 0x46c408
lea edi, [ebp - 0x21c]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x46c429
mov eax, dword [0x52a924]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
cmp eax, 4
jg 0x46c62f
inc eax
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0xc8c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0xc98], edi
cmp edi, 0xffffffff
je 0x46c62f
lea eax, [ebp - 0xc60]
push eax
push 0x522f54
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x46c612
lea eax, [ebp - 0xc60]
push eax
push 0x52a994
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x46c612
test byte [ebp - 0xc8c], 0x10
je 0x46c612
mov edx, dword [ebp - 0xc90]
xor esi, esi
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x46c590
lea eax, [ebp - 0xc60]
push eax
push dword [ecx + esi*4]
call fcn.004da5d4
pop ecx
pop ecx
test eax, eax
je 0x46c4fb
mov eax, dword [ebp - 0xc90]
inc esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x46c4cc
jmp 0x46c590
xor ebx, ebx
inc ebx
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x62c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xa3e], ax
test ax, ax
jne 0x46c500
lea edx, [ebp - 0xc60]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x46c522
lea edi, [ebp - 0xa3c]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x46c538
mov ecx, edx
lea eax, [ebp - 0xa3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0xc94]
call fcn.00404fa0
mov ecx, dword [ebp - 0xc9c]
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc94]
push eax
call fcn.00412be2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc94]
call fcn.00403080
mov edi, dword [ebp - 0xc98]
test ebx, ebx
jne 0x46c610
mov ecx, ebx
movzx eax, word [ebp + ecx - 0x62c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x836], ax
test ax, ax
jne 0x46c596
lea edx, [ebp - 0xc60]
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x46c5b6
lea edi, [ebp - 0x834]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x46c5cc
push dword [ebp + 0x14]
mov eax, dword [ebp - 0xc90]
mov ecx, edx
push dword [ebp - 0xc9c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xca0]
lea eax, [ebp - 0x834]
push eax
call fcn.0046c33a
mov edi, dword [ebp - 0xc98]
jmp 0x46c612
xor ebx, ebx
lea eax, [ebp - 0xc8c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46c471
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004e6c99
ret 0x10