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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2cc
mov dword [ebp - 0x270], 0x3a0041
mov dword [ebp - 0x26c], 0x5c
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov ecx, 8
mov edx, 4
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 8]
call sym._resize_table
test eax, eax
je 0x7104a058
call sym._alloc_dirstack.constprop.0
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x29c], 0
mov esi, eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [ebp - 0x298], esi
mov esi, edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x28c], 0
jmp 0x71049b5a
inc esi
cmp esi, 0x1a
je 0x71049ca0
mov eax, dword [ebp - 0x294]
bt eax, esi
jae 0x71049b50
lea eax, [esi + 0x41]
mov word [ebp - 0x270], ax
lea eax, [ebp - 0x270]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
sub esp, 4
cmp eax, 3
jne 0x71049b50
mov dword [ebp - 0x280], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x71049d20
mov eax, dword [ebp + 0xc]
cmp dword [eax], 1
jne 0x71049d20
lea eax, [ebp - 0x280]
movzx ecx, word [ebp - 0x270]
mov edx, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x298]
call sym._seed_dirs.part.0
test eax, eax
je 0x71049d20
mov dword [ebp - 0x2b4], esi
lea esi, [esi]
nop
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x71049fa0
mov ebx, dword [ebp - 0x298]
lea eax, [ecx - 1]
mov edx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebx]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x29c], eax
movzx eax, word [ebp - 0x270]
mov edx, dword [ebp - 0x29c]
call sym._build_glob
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x7104a016
lea esi, [ebp - 0x268]
mov dword [esp], eax
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x290], eax
sub esp, 8
cmp eax, 0xffffffff
jne 0x71049dde
mov ecx, dword [ebp - 0x298]
mov eax, dword [ecx + 8]
test eax, eax
je 0x71049c90
mov edx, dword [ecx]
mov edx, dword [edx + eax*4 - 4]
test edx, edx
jne 0x71049bd8
lea esi, [esi]
mov esi, dword [ebp - 0x2b4]
inc esi
cmp esi, 0x1a
jne 0x71049b5a
mov esi, dword [ebp - 0x298]
xor ebx, ebx
mov eax, dword [esi + 8]
test eax, eax
jne 0x71049f60
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 - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x71060048], 8
jne 0x71049fc0
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x28c]
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x2a8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x298]
xor ebx, ebx
mov eax, dword [eax + 8]
test eax, eax
je 0x71049d5a
mov dword [ebp - 0x290], esi
mov esi, dword [ebp - 0x298]
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 0x71049d40
mov esi, dword [ebp - 0x290]
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x2b4], esi
mov dword [eax + 8], 0
jmp 0x71049bd8
mov eax, dword [ebp - 0x274]
or eax, dword [ebp - 0x278]
je 0x71049ff3
mov eax, dword [ebp - 0x280]
test eax, eax
je 0x71049da1
dec eax
cmp eax, dword [ebp - 0x28c]
je 0x7104a02b
mov eax, dword [ebp - 0x2b0]
add dword [ebp - 0x2a4], 8
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x2a8], eax
lea esi, [esi]
mov eax, dword [ebp - 0x290]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x71049f80
mov eax, dword [ebp - 0x28c]
mov ecx, 8
lea ebx, [eax + 1]
mov eax, edi
mov edx, ebx
call sym._resize_table
test eax, eax
je 0x71049f28
test byte [ebp - 0x268], 0x10
je 0x71049dc0
lea eax, [ebp - 0x23c]
mov dword [esp + 4], 0x71062890
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x71049dc0
lea eax, [ebp - 0x23c]
mov dword [esp + 4], 0x71062894
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x71049dc0
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x284]
call sym._append_path
mov edx, eax
test eax, eax
je 0x71049f28
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x298]
call sym._push_dir
mov edx, dword [ebp - 0x2a8]
test eax, eax
je 0x7104a002
mov ecx, dword [ebp - 0x2a4]
add ecx, dword [edi + 0x14]
mov dword [ebp - 0x2a8], edx
mov dword [ecx], 0x1f01ff
movzx eax, word [ebp - 0x270]
mov dword [ebp - 0x2ac], ecx
call sym._build_name
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [ebp - 0x2a8]
mov dword [ecx + 4], eax
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x71049d8a
lea eax, [ebp - 0x27c]
mov dword [esp], edi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x278]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28c]
mov dword [esp + 4], eax
call sym._eval_cond
test eax, eax
je 0x71049d78
mov dword [ebp - 0x2a8], 0xffffffff
mov eax, dword [ebp - 0x28c]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._free_row_values
jmp 0x71049dc0
mov esi, dword [ebp - 0x298]
mov eax, dword [ebp - 0x290]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 0x2a8], 0xffffffff
sub esp, 4
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
je 0x71049cb8
lea esi, [esi]
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 0x71049f60
jmp 0x71049cb8
mov eax, dword [ebp - 0x290]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
jmp 0x71049c6f
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x29c], 0
jmp 0x71049c2a
mov eax, dword [ebp - 0x28c]
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], 0x71060048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x71049d03
mov dword [ebp - 0x2a8], 1
jmp 0x71049f0b
mov dword [esp], edx
mov esi, dword [ebp - 0x298]
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x71049f2e
mov dword [ebp - 0x2a8], 0xffffffff
mov esi, dword [ebp - 0x298]
jmp 0x71049f4a
mov eax, dword [ebp - 0x290]
mov esi, dword [ebp - 0x298]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x2a8], 1
sub esp, 4
jmp 0x71049f4a
mov dword [ebp - 0x2a8], 0xffffffff
jmp 0x71049d0f