Function at 0x140013580
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push r15
lea rbp, [rsp - 0x7c8]
sub rsp, 0x8c8
mov rax, qword [0x1400367c0]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
xor esi, esi
movsxd r15, edx
mov rbx, rcx
lea rdx, [rsp + 0x20]
lea rcx, str.UI_Multiple_Language
lea r8d, [rsi + 1]
mov dword [rsp + 0x20], esi
call fcn.140010690
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x140013601
lea rcx, str.UI_LanguageDefault
mov r8d, r15d
mov rdx, rbx
call fcn.140010770
test eax, eax
je 0x14001375b
movzx ecx, word [rbx]
cmp cx, word [0x140029680]
je 0x14001375b
lea eax, [rsi + 1]
jmp 0x140013a54
dec eax
cmp eax, 2
ja 0x14001375b
lea rcx, str.UI_Language
mov r8d, r15d
mov rdx, rbx
call fcn.140010770
test eax, eax
je 0x14001375b
movzx eax, word [rbx]
cmp ax, word [0x140029680]
je 0x14001375b
lea rcx, [rbp + 0x392]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x390], si
call fcn.140017230
lea rdx, [rbp + 0x390]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x390]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rbp + 0x390]
mov edx, 0x104
call fcn.140010170
lea rcx, str.Movie
mov edx, 0x104
call fcn.140016f84
lea r8, str.Movie
lea rcx, [rbp + 0x390]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rcx, str.Language
mov edx, 0x104
call fcn.140016f84
lea r8, str.Language
lea rcx, [rbp + 0x390]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
test rbx, rbx
jne 0x1400136e6
mov rax, rsi
jmp 0x1400136f3
mov edx, 0x104
mov rcx, rbx
call fcn.140016f84
lea rcx, [rbp + 0x390]
mov r9, rax
mov r8, rbx
mov edx, 0x104
call fcn.1400101f0
lea rcx, str.UI_RES.DLL
mov edx, 0x104
call fcn.140016f84
lea r8, str.UI_RES.DLL
lea rcx, [rbp + 0x390]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14001375b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x140013a54
lea rdx, str._PDVD_ERROR__GetAppliedLanguageDirect
mov ecx, 3
mov qword [rsp + 0x8c0], r14
call fcn.140012690
lea rcx, [rbp + 0x182]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x180], si
call fcn.140017230
lea rcx, [rbp + 0x5a2]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x5a0], si
call fcn.140017230
lea rdx, [rbp + 0x5a0]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rbp + 0x5a0]
mov edx, 0x104
call fcn.140010170
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x180]
mov edx, 0x104
call fcn.140017050
lea rcx, str.Movie
mov edx, 0x104
call fcn.140016f84
lea r8, str.Movie
lea rcx, [rbp + 0x180]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rcx, str.Language
mov edx, 0x104
call fcn.140016f84
lea r8, str.Language
lea rcx, [rbp + 0x180]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rcx, [0x14002ac20]
mov edx, 0x104
call fcn.140016f84
lea r8, [0x14002ac20]
lea rcx, [rbp + 0x180]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x900], rdi
mov r14, rax
nop word [rax + rax]
test byte [rsp + 0x30], 0x10
je 0x1400139a0
lea rax, [rsp + 0x5c]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x1400138b4
cmp rcx, 3
jne 0x1400139a0
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x180]
mov edx, 0x104
call fcn.140017050
lea rcx, str.Movie
mov edx, 0x104
call fcn.140016f84
lea r8, str.Movie
lea rcx, [rbp + 0x180]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rcx, str.Language
mov edx, 0x104
call fcn.140016f84
lea r8, str.Language
lea rcx, [rbp + 0x180]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rcx, [rsp + 0x5c]
mov edx, 0x104
call fcn.140016f84
lea r8, [rsp + 0x5c]
lea rcx, [rbp + 0x180]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rcx, str.UI_RES.DLL
mov edx, 0x104
call fcn.140016f84
lea r8, str.UI_RES.DLL
lea rcx, [rbp + 0x180]
mov r9, rax
mov edx, 0x104
call fcn.1400101f0
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
jne 0x1400139b8
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400138a0
jmp 0x1400139f4
lea r8, [rsp + 0x5c]
mov rdx, r15
mov rcx, rbx
call fcn.140017050
lea rdx, [rsp + 0x5c]
lea rcx, str.UI_LanguageDefault
cmp dword [rsp + 0x20], esi
je 0x1400139e1
lea rcx, str.UI_Language
call fcn.1400109d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14, qword [rsp + 0x8c0]
mov rdi, qword [rsp + 0x900]
test esi, esi
jne 0x140013a52
lea rdx, str._PDVD_ERROR__GetAppliedLanguageDirect_Critical_ERROR__
lea ecx, [rsi + 3]
call fcn.140012690
lea r8, [0x14002aca0]
mov rdx, r15
mov rcx, rbx
call fcn.140017050
lea rdx, [0x14002aca0]
lea rcx, str.UI_LanguageDefault
cmp dword [rsp + 0x20], esi
je 0x140013a4d
lea rcx, str.UI_Language
call fcn.1400109d0
xor eax, eax
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140017200
add rsp, 0x8c8
pop r15
pop rsi
pop rbx
pop rbp
ret