Function at 0x100072a0
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 eax, dword [ecx + 4]
mov dword [ebp - 0x268], 0x3a0041
mov dword [ebp - 0x264], 0x5c
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x29c], eax
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ecx, 8
mov edx, 4
mov dword [ebp - 0x290], eax
mov eax, ebx
call sym._resize_table
test eax, eax
je 0x10007874
call sym._alloc_dirstack.constprop.0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x28c], 0
mov edi, eax
xor eax, eax
mov dword [ebp - 0x288], edi
mov edi, eax
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x2a0], 0
jmp 0x1000735c
add edi, 1
cmp edi, 0x1a
je 0x100074b0
mov eax, dword [ebp - 0x290]
bt eax, edi
jae 0x10007350
lea eax, [edi + 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 0x10007350
lea eax, [ebp - 0x278]
movzx ecx, word [ebp - 0x268]
mov dword [ebp - 0x278], 0
mov dword [esp], eax
mov edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x288]
call sym._seed_dirs
mov ebx, eax
test eax, eax
je 0x10007738
mov ebx, dword [ebp - 0x29c]
xor eax, eax
mov dword [ebp - 0x2ac], edi
mov edx, dword [ebp - 0x2a4]
test ebx, ebx
setne al
mov dword [ebp - 0x2a8], eax
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x28c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100077a8
mov esi, dword [ebp - 0x288]
lea eax, [ecx - 1]
mov edx, dword [esi + 4]
mov dword [esi + 8], eax
mov ecx, dword [edx + eax*4]
mov edx, dword [esi]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
movzx eax, word [ebp - 0x268]
call sym._build_glob
mov edx, eax
test eax, eax
je 0x10007836
lea eax, [ebp - 0x260]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x284], edx
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x284]
sub esp, 8
cmp eax, 0xffffffff
jne 0x10007538
mov esi, dword [ebp - 0x288]
mov eax, dword [esi + 8]
test eax, eax
je 0x10007490
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4 - 4]
test ecx, ecx
jne 0x100073dc
lea esi, [esi]
mov edi, dword [ebp - 0x2ac]
mov dword [ebp - 0x2a4], edx
add edi, 1
cmp edi, 0x1a
jne 0x1000735c
lea esi, [esi]
nop
mov edi, dword [ebp - 0x288]
xor ebx, ebx
mov eax, dword [edi + 8]
test eax, eax
jne 0x10007718
lea esi, [esi]
nop
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [edi + 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x2a4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x28c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x1002179c], 8
jne 0x100077c8
mov eax, dword [ebp - 0x280]
mov edx, dword [ebp - 0x2a0]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x298]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x2a4], edx
mov edi, dword [ebp - 0x2a0]
mov dword [ebp - 0x284], eax
jmp 0x100075b4
mov eax, dword [ebp - 0x270]
or eax, dword [ebp - 0x26c]
je 0x100077fb
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x10007577
sub eax, 1
cmp eax, edi
je 0x10007847
mov eax, dword [ebp - 0x2a8]
add dword [ebp - 0x294], 8
mov edi, ebx
mov dword [ebp - 0x298], eax
lea esi, [esi]
lea eax, [ebp - 0x260]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x284]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x10007780
lea ebx, [edi + 1]
mov eax, dword [ebp - 0x280]
mov ecx, 8
mov edx, ebx
call sym._resize_table
test eax, eax
je 0x100076e0
test byte [ebp - 0x260], 0x10
je 0x10007590
lea esi, [ebp - 0x234]
mov dword [esp + 4], 0x10023908
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x10007590
mov dword [esp + 4], 0x1002390c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x10007590
mov eax, dword [ebp - 0x28c]
mov edx, esi
lea ecx, [ebp - 0x27c]
call sym._append_path
mov esi, eax
test eax, eax
je 0x100076e0
mov edx, eax
mov ecx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x288]
call sym._push_dir
test eax, eax
je 0x1000780a
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x294]
mov edx, esi
add ecx, dword [eax + 0x14]
mov dword [ecx], 0x1f01ff
movzx eax, word [ebp - 0x268]
mov dword [ebp - 0x298], ecx
call sym._build_name
mov ecx, dword [ebp - 0x298]
mov dword [ecx + 4], eax
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x29c]
test edx, edx
je 0x10007562
lea eax, [ebp - 0x274]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x270]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
je 0x10007550
mov dword [ebp - 0x298], 0xffffffff
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
call sym._free_row_values
jmp 0x10007590
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x2a0], edi
mov edi, dword [ebp - 0x288]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
mov dword [ebp - 0x298], 0xffffffff
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
je 0x100074c8
lea esi, [esi]
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
add ebx, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
cmp ebx, dword [edi + 8]
jb 0x10007718
jmp 0x100074c8
mov eax, dword [ebp - 0x288]
mov esi, dword [eax + 8]
test esi, esi
je 0x10007766
mov esi, dword [ebp - 0x288]
lea esi, [esi]
nop
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
add ebx, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
cmp ebx, dword [esi + 8]
jb 0x10007750
mov eax, dword [ebp - 0x288]
mov dword [eax + 8], 0
jmp 0x100073bd
mov dword [ebp - 0x2a0], edi
mov edi, dword [ebp - 0x284]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_FindClose]
mov edx, dword [ebp - 0x2a4]
sub esp, 4
jmp 0x1000746f
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x28c], 0
jmp 0x10007428
mov eax, dword [ebp - 0x2a0]
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], 0x1002179c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10007513
mov dword [ebp - 0x298], 1
jmp 0x100076c7
mov dword [ebp - 0x2a0], edi
mov edi, dword [ebp - 0x288]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x284]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
jmp 0x100076fe
mov dword [ebp - 0x2a4], eax
mov edi, dword [ebp - 0x288]
jmp 0x100076fe
mov edx, dword [ebp - 0x284]
mov edi, dword [ebp - 0x288]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x298], 1
sub esp, 4
jmp 0x10007708
mov dword [ebp - 0x298], 0xffffffff
jmp 0x10007522