Function at 0x10009a60
Capabilities:
Enumerate files on windows
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x2b4
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x268], 0x3a0041
mov dword [ebp - 0x264], 0x5c
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2a0], edi
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ecx, 8
mov edx, 4
mov dword [ebp - 0x288], eax
mov eax, ebx
call sym._resize_table
test eax, eax
je 0x1000a028
call sym._alloc_dirstack.constprop.0
cmp edi, 1
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x290], 0
mov esi, eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [ebp - 0x28c], esi
mov esi, edi
mov edi, ebx
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x280], 0
jmp 0x10009b22
inc esi
cmp esi, 0x1a
je 0x10009c70
mov eax, dword [ebp - 0x288]
bt eax, esi
jae 0x10009b18
lea eax, [esi + 0x41]
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
sub esp, 4
cmp eax, 3
jne 0x10009b18
mov dword [ebp - 0x278], 0
mov ebx, dword [ebp - 0x2a0]
test ebx, ebx
je 0x10009cf8
mov edx, dword [ebp - 0x2a0]
cmp dword [edx], 1
jne 0x10009cf8
lea eax, [ebp - 0x278]
movzx ecx, word [ebp - 0x268]
mov dword [esp], eax
mov eax, dword [ebp - 0x28c]
call sym._seed_dirs.part.0
test eax, eax
je 0x10009cf8
mov dword [ebp - 0x2b0], esi
nop
mov eax, dword [ebp - 0x294]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x290]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x28c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10009f70
mov ebx, dword [ebp - 0x28c]
lea eax, [ecx - 1]
mov edx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x27c], ecx
mov edx, dword [ebx]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x290], eax
movzx eax, word [ebp - 0x268]
mov edx, dword [ebp - 0x290]
call sym._build_glob
mov dword [ebp - 0x294], eax
test eax, eax
je 0x10009fe6
lea esi, [ebp - 0x260]
mov dword [esp], eax
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x284], eax
sub esp, 8
cmp eax, 0xffffffff
jne 0x10009db6
mov edx, dword [ebp - 0x28c]
mov eax, dword [edx + 8]
test eax, eax
je 0x10009c58
mov edx, dword [edx]
mov edx, dword [edx + eax*4 - 4]
test edx, edx
jne 0x10009ba0
lea esi, [esi]
mov esi, dword [ebp - 0x2b0]
inc esi
cmp esi, 0x1a
jne 0x10009b22
lea esi, [esi]
nop
mov esi, dword [ebp - 0x28c]
xor ebx, ebx
mov eax, dword [esi + 8]
test eax, eax
jne 0x10009f30
lea esi, [esi]
nop
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [esi + 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x294]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x290]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x10021048], 8
jne 0x10009f90
mov eax, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x280]
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x29c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x28c]
xor ebx, ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10009d32
mov dword [ebp - 0x284], esi
mov esi, dword [ebp - 0x28c]
lea esi, [esi]
nop
mov edx, dword [esi]
mov edx, dword [edx + ebx*4]
inc ebx
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
cmp ebx, dword [esi + 8]
jb 0x10009d18
mov esi, dword [ebp - 0x284]
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x2b0], esi
mov dword [eax + 8], 0
jmp 0x10009ba0
mov eax, dword [ebp - 0x26c]
or eax, dword [ebp - 0x270]
je 0x10009fc3
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x10009d79
dec eax
cmp eax, dword [ebp - 0x280]
je 0x10009ffb
mov eax, dword [ebp - 0x2a8]
add dword [ebp - 0x298], 8
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x29c], eax
lea esi, [esi]
mov eax, dword [ebp - 0x284]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x10009f50
mov eax, dword [ebp - 0x280]
mov ecx, 8
lea ebx, [eax + 1]
mov eax, edi
mov edx, ebx
call sym._resize_table
test eax, eax
je 0x10009f00
test byte [ebp - 0x260], 0x10
je 0x10009d98
lea eax, [ebp - 0x234]
mov dword [esp + 4], 0x10023932
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x10009d98
lea eax, [ebp - 0x234]
mov dword [esp + 4], 0x10023936
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x10009d98
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x27c]
call sym._append_path
mov edx, eax
test eax, eax
je 0x10009f00
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x28c]
call sym._push_dir
mov edx, dword [ebp - 0x29c]
test eax, eax
je 0x10009fd2
mov ecx, dword [ebp - 0x298]
add ecx, dword [edi + 0x14]
mov dword [ebp - 0x29c], edx
mov dword [ecx], 0x1f01ff
movzx eax, word [ebp - 0x268]
mov dword [ebp - 0x2a4], ecx
call sym._build_name
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x29c]
mov dword [ecx + 4], eax
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x10009d62
lea eax, [ebp - 0x274]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x270]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x280]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._eval_cond
test eax, eax
je 0x10009d50
mov dword [ebp - 0x29c], 0xffffffff
mov eax, dword [ebp - 0x280]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._free_row_values
jmp 0x10009d98
mov esi, dword [ebp - 0x28c]
mov eax, dword [ebp - 0x284]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 0x29c], 0xffffffff
sub esp, 4
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
je 0x10009c88
nop
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
inc ebx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
cmp ebx, dword [esi + 8]
jb 0x10009f30
jmp 0x10009c88
mov eax, dword [ebp - 0x284]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
jmp 0x10009c37
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x290], 0
jmp 0x10009bf2
mov eax, dword [ebp - 0x280]
mov dword [esp + 0xc], str.created__u_rows_n
mov dword [esp + 8], str.fill_directory
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10021048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10009cd3
mov dword [ebp - 0x29c], 1
jmp 0x10009ee3
mov dword [esp], edx
mov esi, dword [ebp - 0x28c]
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10009f06
mov dword [ebp - 0x29c], 0xffffffff
mov esi, dword [ebp - 0x28c]
jmp 0x10009f22
mov eax, dword [ebp - 0x284]
mov esi, dword [ebp - 0x28c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x29c], 1
sub esp, 4
jmp 0x10009f22
mov dword [ebp - 0x29c], 0xffffffff
jmp 0x10009ce2