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

Disassembly:
push 0xffffffffffffffff
push 0x100701d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xaa8
push ebx
push ebp
push esi
push edi
mov al, byte [esp + 0x1b]
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0xac4], 0
mov byte [esp + 0x40], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0xacc]
push 1
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x40]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10010775
mov edi, dword [esp + 0x40]
mov ecx, ebx
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov ecx, dword [esp + 0xad4]
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0xadc]
mov byte [esp + 0xacc], 1
call fcn.10015840
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xac4], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x208
lea eax, [esp + 0x58]
push ebp
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x54]
push 0x10085f04
push ecx
call ebx
lea edx, [esp + 0x54]
push 0x208
lea eax, [esp + 0x4a4]
push edx
push eax
call edi
lea ecx, [esp + 0x54]
push str.video_ts.ifo
push ecx
call ebx
mov esi, dword [sym.imp.MSVCRT.dll__fullpath]
lea edx, [esp + 0x54]
push 0x30c
lea eax, [esp + 0x58]
push edx
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100108fa
test al, 0x10
jne 0x100108fa
mov ecx, dword [esp + 0xac8]
push ebp
call fcn.10013940
mov esi, eax
test esi, esi
jne 0x1001087e
mov eax, dword [esp + 0xad4]
lea edx, [esp + 0x10]
push eax
mov dword [esp + 0xac4], 0xffffffff
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0xadc]
call fcn.10015910
mov eax, dword [esp + 0xad4]
push eax
call fcn.1003c010
add esp, 4
mov eax, 0x8007000e
jmp 0x10010e68
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 0x54]
lea eax, [esp + 0x7ac]
push edx
push str.DVD____s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x7b8]
push ecx
call dword [sym.imp.MSVCRT.dll__mbsupr]
add esp, 0x10
lea edx, [esp + 0x7ac]
mov ecx, esi
push edx
push str.TITLE
call fcn.1000dfc0
mov dword [esp + 0xac0], 0xffffffff
mov eax, dword [esp + 0xad4]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0xadc]
call fcn.10015910
mov ecx, dword [esp + 0xad4]
push ecx
jmp 0x10010e5e
lea edx, [esp + 0x4a0]
push 0x100
lea eax, [esp + 0x58]
push edx
push eax
call edi
lea ecx, [esp + 0x54]
push str..cue
push ecx
call ebx
lea edx, [esp + 0x54]
push 0x30c
lea eax, [esp + 0x58]
push edx
push eax
call esi
mov cl, byte [esp + 0x27]
xor eax, eax
add esp, 0xc
mov byte [esp + 0x20], cl
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea edx, [esp + 0x360]
lea eax, [esp + 0x54]
push edx
push eax
call esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0xac8]
cmp eax, 0xffffffff
mov byte [esp + 0xac0], 3
je 0x100109d8
lea ecx, [esp + 0x4a0]
push 0x208
lea edx, [esp + 0x58]
push ecx
push edx
call edi
lea eax, [esp + 0x38c]
lea ecx, [esp + 0x54]
push eax
push ecx
call ebx
lea edx, [esp + 0x54]
push 0x30c
lea eax, [esp + 0x58]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__fullpath]
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, ebp
call fcn.10013d70
lea eax, [esp + 0x360]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10010975
lea edx, [esp + 0x4a0]
push 0x208
lea eax, [esp + 0x58]
push edx
push eax
call edi
lea ecx, [esp + 0x54]
push 0x10085eec
push ecx
call ebx
lea edx, [esp + 0x54]
push 0x30c
lea eax, [esp + 0x58]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__fullpath]
add esp, 0xc
lea ecx, [esp + 0x360]
lea edx, [esp + 0x54]
push ecx
push edx
call esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
cmp eax, 0xffffffff
mov byte [esp + 0xac0], 4
je 0x10010dd0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [esp + 0x38c]
push 0x10085614
push eax
call esi
test eax, eax
je 0x10010ce9
lea ecx, [esp + 0x38c]
push 0x10085ee8
push ecx
call esi
test eax, eax
je 0x10010ce9
lea edx, [esp + 0x4a0]
push 0x208
lea eax, [esp + 0x58]
push edx
push eax
call edi
lea ecx, [esp + 0x38c]
lea edx, [esp + 0x54]
push ecx
push edx
call ebx
lea eax, [esp + 0x54]
push 0x30c
lea ecx, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__fullpath]
mov al, byte [esp + 0x36c]
add esp, 0xc
test al, 0x10
je 0x10010b1b
mov dl, byte [esp + 0xad0]
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x20], esp
push 0x18
mov byte [esi], dl
call fcn.1003bfe0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov eax, dword [esp + 0xae4]
add esp, 4
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x44]
push ecx
push eax
mov ecx, esi
call fcn.10008e90
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.100158a0
lea edx, [esp + 0x60]
push edx
push ebp
call fcn.100106f0
lea eax, [esp + 0x360]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
jmp 0x10010cf6
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
call fcn.100146b0
add esp, 4
test eax, eax
je 0x10010bb2
mov cl, byte [esp + 0xad0]
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x20], esp
push 0x18
mov byte [esi], cl
call fcn.1003bfe0
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov edx, dword [esp + 0xae0]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0xae4]
call fcn.10008e90
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, esi
call fcn.10008e90
mov eax, dword [eax]
mov ecx, esi
push eax
call fcn.100158a0
lea ecx, [esp + 0x60]
lea edx, [esp + 0x60]
push ecx
push edx
push ebp
call fcn.10011140
lea eax, [esp + 0x360]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
jmp 0x10010cf6
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.10014c70
add esp, 8
test eax, eax
jne 0x10010c10
lea edx, [esp + 0x54]
mov ecx, ebp
push edx
call fcn.10014d10
test eax, eax
je 0x10010cda
lea eax, [esp + 0x54]
push 0
push eax
mov ecx, ebp
call fcn.10014db0
test eax, eax
jge 0x10010cda
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
call fcn.10013940
lea eax, [esp + 0x360]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
jmp 0x10010cf6
lea edx, [esp + 0x20]
lea eax, [esp + 0x54]
push edx
push eax
mov ecx, ebp
call fcn.10014d60
mov ebx, eax
mov edi, dword [ebx + 0x31c]
mov eax, dword [ebx + 0x320]
cmp edi, eax
je 0x10010cce
lea esi, [edi + 0x108]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x1c], 0
call fcn.10014db0
test eax, eax
jge 0x10010c74
lea eax, [esp + 0x54]
mov ecx, ebp
push eax
call fcn.10013940
test eax, eax
mov dword [esp + 0x14], eax
je 0x10010d09
jmp 0x10010c7c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10010cb4
mov ecx, dword [esi + 0x10c]
mov edx, dword [esi + 0x108]
push ecx
push edx
push str.STARTPOS
mov ecx, eax
call fcn.1000e160
push edi
push str.TITLE
mov ecx, dword [esp + 0x1c]
call fcn.1000dfc0
push esi
push str.ARTIST
mov ecx, dword [esp + 0x1c]
call fcn.1000dfc0
mov eax, dword [ebx + 0x320]
add edi, 0x218
add esi, 0x218
cmp edi, eax
jne 0x10010c3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x360]
push eax
push ecx
jmp 0x10010cf6
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x360]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10010dc5
jmp 0x10010a38
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
push ecx
call esi
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x10010d22
push eax
call esi
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0xac0], 0
je 0x10010d4f
lea ecx, [esi + 0x318]
call fcn.10032790
add esi, 0x328
cmp esi, edi
jne 0x10010d36
mov esi, dword [esp + 0x24]
push esi
call fcn.1003c010
mov esi, dword [esp + 0xad8]
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov eax, dword [esi]
add esp, 4
cmp eax, esi
mov dword [esp + 0xac0], 0xffffffff
mov dword [esp + 0x10], eax
je 0x10010dab
lea edx, [esp + 0x38]
push edi
push edx
lea ecx, [esp + 0x18]
call fcn.10015d20
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0xad8]
call fcn.10015cb0
cmp dword [esp + 0x10], esi
jne 0x10010d82
mov edx, dword [esp + 0xad4]
push edx
call fcn.1003c010
add esp, 4
mov eax, 0x8007000e
jmp 0x10010e68
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x10010de0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov byte [esp + 0xac0], 0
je 0x10010e0d
lea ecx, [esi + 0x318]
call fcn.10032790
add esi, 0x328
cmp esi, edi
jne 0x10010df4
mov esi, dword [esp + 0x24]
push esi
call fcn.1003c010
mov edi, dword [esp + 0xad8]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov esi, dword [edi]
add esp, 4
cmp esi, edi
mov dword [esp + 0xac0], 0xffffffff
je 0x10010e56
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0xad8]
call fcn.10015cb0
cmp esi, edi
jne 0x10010e3c
mov edx, dword [esp + 0xad4]
push edx
call fcn.1003c010
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xab8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xab4
ret 0x14