Function at 0x14000a360
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.1400042e0
lea rax, [0x140047900]
lea rbp, [0x140047f30]
cmp byte [0x1400478f8], 0
cmovne rbp, rax
mov rcx, rbp
call fcn.1400220e8
mov rsi, rax
mov rcx, r14
call fcn.1400220e8
mov rbx, rax
add rax, rsi
add rax, 2
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.140013ea4
mov rdi, rax
mov rcx, rax
mov rdx, rbp
call fcn.1400220cc
lea rbp, [rdi + rsi*2]
lea rdx, [0x14003d9e8]
mov rcx, rbp
call fcn.140022068
lea rcx, [rdi + rsi*2]
add rcx, 2
mov rdx, r14
call fcn.140022068
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 0x14000a6dc
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 0x14000a4c0
mov edx, 0x104
mov rcx, rbp
lea r8, [0x14003d9de]
mov r9, rbp
call fcn.1400042e0
mov rcx, rbp
mov rdx, qword [rsp + 0x30]
call fcn.14000a360
test eax, eax
jne 0x14000a727
mov rcx, rbx
mov rdx, r13
call rdi
test eax, eax
je 0x14000a5f1
mov rcx, rsi
mov rdx, r12
call fcn.140022094
test eax, eax
je 0x14000a4b0
mov rcx, rsi
lea rdx, [0x14003d9ec]
call fcn.140022094
test eax, eax
je 0x14000a4b0
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.1400042e0
test byte [rsp + 0x458], 0x10
jne 0x14000a484
mov rcx, rbp
call fcn.1400220e8
mov rbp, rax
lea rcx, [rax + rax]
add rcx, 6
call fcn.14002171c
test rax, rax
je 0x14000a6e3
mov r15, rax
mov r14, rbx
mov rbx, r13
mov rcx, rax
lea r13, [0x14003a6e8]
mov rdx, r13
call fcn.1400220cc
lea rcx, [r15 + 2]
lea rdx, [rsp + 0x40]
call fcn.140022068
lea rcx, [r15 + rbp*2]
add rcx, 2
mov rdx, r13
call fcn.140022068
mov word [r15 + rbp*2 + 4], 0
mov ecx, 0x30
call fcn.140013e60
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.1400021f0
test eax, eax
jne 0x14000a770
mov rcx, r15
call fcn.140021244
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 0x14000a4b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x38]
call fcn.1400220e8
mov rbx, rax
lea rcx, [rax + rax]
add rcx, 6
call fcn.14002171c
test rax, rax
je 0x14000a6e3
mov rsi, rax
lea rbp, [0x14003a6e8]
mov rcx, rax
mov rdx, rbp
call fcn.1400220cc
lea rcx, [rsi + 2]
mov rdx, qword [rsp + 0x38]
call fcn.140022068
lea rcx, [rsi + rbx*2]
add rcx, 2
mov rdx, rbp
call fcn.140022068
mov word [rsi + rbx*2 + 4], 0
mov ecx, 0x30
call fcn.140013e60
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.140003050
test eax, eax
je 0x14000a6f2
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 0x14000a7f3
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.14000ed50
jmp 0x14000a713
xor esi, esi
jmp 0x14000a7bd
mov esi, 5
mov rdi, qword [rsp + 0x28]
jmp 0x14000a7bd
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.140021244
mov esi, ebp
jmp 0x14000a7bd
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 0x14000a83a
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.14000ed50
mov rdi, qword [rsp + 0x28]
jmp 0x14000a7bd
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 0x14000a881
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.14000ed50
mov rcx, r15
call fcn.140021244
mov rcx, rdi
call fcn.140013e9c
mov rcx, qword [rsp + 0x6a8]
xor rcx, rsp
call fcn.140023fe0
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.140014020
mov eax, edi
cmp dword [0x140048558], 0xffffffff
jne 0x14000a6bf
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
mov eax, edi
jmp 0x14000a6bf
lea rcx, [0x140048558]
mov esi, eax
call fcn.140014020
mov eax, esi
cmp dword [0x140048558], 0xffffffff
jne 0x14000a74c
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
mov eax, esi
jmp 0x14000a74c
lea rcx, [0x140048558]
mov esi, eax
call fcn.140014020
mov eax, esi
cmp dword [0x140048558], 0xffffffff
jne 0x14000a79a
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
mov eax, esi
jmp 0x14000a79a