Function at 0x140013bc0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rsi
push r14
push r15
sub rsp, 0x6d8
mov rax, qword [0x14008c320]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
mov esi, r8d
mov r15, rdx
mov rbx, rcx
lea r8, str._s_.
mov r9, rdx
lea rcx, [rsp + 0x4a0]
mov edx, 0x104
call fcn.140006100
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140013c66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x218]
lea r9d, [r14 + 4]
mov dword [rsp + 0x30], eax
lea r8d, [r14 + 0x22]
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x28], rax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonDirectoryEnumerator.cpp
lea rax, str.Unable_to_enumerate_items__S__result__lu_
mov qword [rsp + 0x20], rax
call fcn.140012d40
mov al, 1
jmp 0x140013ead
mov qword [rsp + 0x710], rbp
mov ebp, esi
mov qword [rsp + 0x6d0], rdi
and ebp, 0x12
mov qword [rsp + 0x6c8], r12
mov dil, 1
mov qword [rsp + 0x6c0], r13
lea r12, str.Process_folder__S
lea r13, str.Process_file__S
nop dword [rax]
test ebp, ebp
je 0x140013d90
test byte [rsp + 0x40], 0x10
je 0x140013d90
cmp word [rsp + 0x6c], 0x2e
je 0x140013d90
lea rax, [rsp + 0x6c]
mov r9, r15
lea r8, str._s__s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x290]
call fcn.140006100
mov rcx, qword [rbx + 0x218]
lea rax, [rsp + 0x290]
mov r9d, 4
mov qword [rsp + 0x28], rax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonDirectoryEnumerator.cpp
mov qword [rsp + 0x20], r12
lea r8d, [r9 + 0x2d]
call fcn.140012d40
test sil, 2
je 0x140013d3b
mov rax, qword [rbx]
lea rdx, [rsp + 0x290]
mov r8d, 2
mov rcx, rbx
call qword [rax]
movzx edi, al
test al, al
je 0x140013e27
test sil, 0x10
je 0x140013d90
test byte [rbx + 0x210], 1
je 0x140013d68
mov r8d, 1
lea rdx, [rsp + 0x290]
mov rcx, rbx
call fcn.140013bc0
test al, al
je 0x140013e43
mov r8d, dword [rbx + 0x210]
and r8d, 0x12
je 0x140013d8d
lea rdx, [rsp + 0x290]
mov rcx, rbx
call fcn.140013bc0
test al, al
je 0x140013e43
mov dil, 1
test sil, 1
je 0x140013e0f
test byte [rsp + 0x40], 0x10
jne 0x140013e0f
lea rax, [rsp + 0x6c]
mov r9, r15
lea r8, str._s__s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x290]
call fcn.140006100
mov rcx, qword [rbx + 0x218]
lea rax, [rsp + 0x290]
mov r9d, 4
mov qword [rsp + 0x28], rax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonDirectoryEnumerator.cpp
mov qword [rsp + 0x20], r13
lea r8d, [r9 + 0x4b]
call fcn.140012d40
mov rax, qword [rbx]
lea rdx, [rsp + 0x290]
mov r8d, 1
mov rcx, rbx
call qword [rax]
movzx edi, al
test al, al
je 0x140013e48
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013ca0
jmp 0x140013e80
lea rax, [rsp + 0x290]
mov r8d, 0x38
mov qword [rsp + 0x28], rax
lea rax, str.OnItem___returned_FALSE_for_folder__S
jmp 0x140013e62
xor dil, dil
jmp 0x140013e80
lea rax, [rsp + 0x290]
mov r8d, 0x53
mov qword [rsp + 0x28], rax
lea rax, str.OnItem_returned_FALSE_for_file__S
mov rcx, qword [rbx + 0x218]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonDirectoryEnumerator.cpp
mov r9d, 4
mov qword [rsp + 0x20], rax
call fcn.140012d40
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r13, qword [rsp + 0x6c0]
movzx eax, dil
mov rdi, qword [rsp + 0x6d0]
mov r12, qword [rsp + 0x6c8]
mov rbp, qword [rsp + 0x710]
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.1400141d0
add rsp, 0x6d8
pop r15
pop r14
pop rsi
pop rbx
ret