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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6c8
movaps xmmword [rsp + 0x6b0], xmm6
mov qword [rsp + 0x30], rdx
mov r9, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x6a8], rax
lea r8, [0x14003da02]
lea r14, [rsp + 0x250]
mov edx, 0x104
mov rcx, r14
mov qword [rsp + 0x38], r9
call fcn.140004260
lea rax, [0x140047900]
lea rbp, [0x140047f30]
cmp byte [0x1400478f8], 0
cmovne rbp, rax
mov rcx, rbp
call fcn.140021f88
mov rsi, rax
mov rcx, r14
call fcn.140021f88
mov rbx, rax
add rax, rsi
add rax, 2
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.140013d44
mov rdi, rax
mov rcx, rax
mov rdx, rbp
call fcn.140021f6c
lea rbp, [rdi + rsi*2]
lea rdx, [0x14003d9e8]
mov rcx, rbp
call fcn.140021f08
lea rcx, [rdi + rsi*2]
add rcx, 2
mov rdx, r14
call fcn.140021f08
mov word [rbp + rbx*2 + 2], 0
lea rdx, [rsp + 0x458]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14000a60c
mov rbx, rax
mov qword [rsp + 0x28], rdi
lea rsi, [rsp + 0x484]
lea r12, [0x14003d9ee]
lea r13, [rsp + 0x458]
mov rdi, qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea r15, [0x14003d1a0]
xorps xmm6, xmm6
jmp 0x14000a3f0
mov edx, 0x104
mov rcx, rbp
lea r8, [0x14003d9de]
mov r9, rbp
call fcn.140004260
mov rcx, rbp
mov rdx, qword [rsp + 0x30]
call fcn.14000a290
test eax, eax
jne 0x14000a657
mov rcx, rbx
mov rdx, r13
call rdi
test eax, eax
je 0x14000a521
mov rcx, rsi
mov rdx, r12
call fcn.140021f34
test eax, eax
je 0x14000a3e0
mov rcx, rsi
lea rdx, [0x14003d9ec]
call fcn.140021f34
test eax, eax
je 0x14000a3e0
mov qword [rsp + 0x20], rsi
mov edx, 0x104
lea rbp, [rsp + 0x40]
mov rcx, rbp
mov r8, r15
mov r9, qword [rsp + 0x38]
call fcn.140004260
test byte [rsp + 0x458], 0x10
jne 0x14000a3b4
mov rcx, rbp
call fcn.140021f88
mov rbp, rax
lea rcx, [rax + rax]
add rcx, 6
call fcn.1400215bc
test rax, rax
je 0x14000a613
mov r15, rax
mov r14, rbx
mov rbx, r13
mov rcx, rax
lea r13, [0x14003a6e8]
mov rdx, r13
call fcn.140021f6c
lea rcx, [r15 + 2]
lea rdx, [rsp + 0x40]
call fcn.140021f08
lea rcx, [r15 + rbp*2]
add rcx, 2
mov rdx, r13
call fcn.140021f08
mov word [r15 + rbp*2 + 4], 0
mov ecx, 0x30
call fcn.140013d00
mov r13, rax
mov dword [rax + 8], 1
mov qword [rax + 0x10], 0
lea rax, [0x14003a7b0]
mov qword [r13], rax
movups xmmword [r13 + 0x18], xmm6
mov dword [r13 + 0x28], 0
mov rcx, r13
mov rdx, r15
call fcn.1400021d0
test eax, eax
jne 0x14000a6a0
mov rcx, r15
call fcn.1400210e4
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
test rax, rax
lea rax, [rax + 0x10]
cmove rax, rcx
mov qword [rax], r13
mov qword [rcx + 8], r13
add dword [rcx + 0x10], 1
mov r13, rbx
mov rbx, r14
lea r15, [0x14003d1a0]
jmp 0x14000a3e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x38]
call fcn.140021f88
mov rbx, rax
lea rcx, [rax + rax]
add rcx, 6
call fcn.1400215bc
test rax, rax
je 0x14000a613
mov rsi, rax
lea rbp, [0x14003a6e8]
mov rcx, rax
mov rdx, rbp
call fcn.140021f6c
lea rcx, [rsi + 2]
mov rdx, qword [rsp + 0x38]
call fcn.140021f08
lea rcx, [rsi + rbx*2]
add rcx, 2
mov rdx, rbp
call fcn.140021f08
mov word [rsi + rbx*2 + 4], 0
mov ecx, 0x30
call fcn.140013d00
mov rbx, rax
mov dword [rax + 8], 1
mov qword [rax + 0x10], 0
lea rax, [0x14003a7e0]
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rbx + 0x18], xmm0
mov dword [rbx + 0x28], 0
mov rcx, rbx
mov rdx, rsi
call fcn.140003010
test eax, eax
je 0x14000a622
mov ebp, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp ebp, dword [rcx + 4]
jg 0x14000a723
lea rcx, [0x140048348]
lea rdx, str.add_dir_entries_Parse_error_on_close:__S__err:__d
mov r8, rsi
mov ebp, eax
mov r9d, eax
call fcn.14000ec80
jmp 0x14000a643
xor esi, esi
jmp 0x14000a6ed
mov esi, 5
mov rdi, qword [rsp + 0x28]
jmp 0x14000a6ed
mov ebp, eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
test rax, rax
lea rax, [rax + 0x10]
cmove rax, rcx
mov qword [rax], rbx
mov qword [rcx + 8], rbx
add dword [rcx + 0x10], 1
mov rdi, qword [rsp + 0x28]
mov rcx, rsi
call fcn.1400210e4
mov esi, ebp
jmp 0x14000a6ed
mov ebp, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp ebp, dword [rcx + 4]
jg 0x14000a76a
lea rcx, [0x140048348]
lea rdx, str.add_dir_entries_error:__S__err:__d
lea r8, [rsp + 0x40]
mov esi, eax
mov r9d, eax
call fcn.14000ec80
mov rdi, qword [rsp + 0x28]
jmp 0x14000a6ed
mov ebp, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp ebp, dword [rcx + 4]
mov rdi, qword [rsp + 0x28]
jg 0x14000a7b1
lea rcx, [0x140048348]
lea rdx, str.add_dir_entries_Parse_error_on_recurse:__S__err:__d
mov r8, r15
mov esi, eax
mov r9d, eax
call fcn.14000ec80
mov rcx, r15
call fcn.1400210e4
mov rcx, rdi
call fcn.140013d3c
mov rcx, qword [rsp + 0x6a8]
xor rcx, rsp
call fcn.140023e80
mov eax, esi
movaps xmm6, xmmword [rsp + 0x6b0]
add rsp, 0x6c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140048558]
mov edi, eax
call fcn.140013ec0
mov eax, edi
cmp dword [0x140048558], 0xffffffff
jne 0x14000a5ef
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
mov eax, edi
jmp 0x14000a5ef
lea rcx, [0x140048558]
mov esi, eax
call fcn.140013ec0
mov eax, esi
cmp dword [0x140048558], 0xffffffff
jne 0x14000a67c
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
mov eax, esi
jmp 0x14000a67c
lea rcx, [0x140048558]
mov esi, eax
call fcn.140013ec0
mov eax, esi
cmp dword [0x140048558], 0xffffffff
jne 0x14000a6ca
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
mov eax, esi
jmp 0x14000a6ca