Function at 0x14000a3f0
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, 0x6d8
movaps xmmword [rsp + 0x6c0], xmm6
mov qword [rsp + 0x38], rdx
mov r9, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x6b8], rax
lea r8, [0x14003db88]
lea r15, [rsp + 0x260]
mov edx, 0x104
mov rcx, r15
mov qword [rsp + 0x40], r9
call fcn.140004840
lea rax, [0x140047460]
lea rbp, [0x140047a90]
cmp byte [0x140047458], 0
cmovne rbp, rax
mov rcx, rbp
call fcn.1400136b0
mov rsi, rax
mov rcx, r15
call fcn.1400136b0
mov rbx, rax
add rax, rsi
add rax, 2
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.1400135c4
mov r14, rax
mov rcx, rax
mov rdx, rbp
call fcn.140013600
lea rbp, [r14 + rsi*2]
lea rdx, [0x14003db6e]
mov rcx, rbp
call fcn.140021d48
lea rcx, [r14 + rsi*2]
add rcx, 2
mov rdx, r15
call fcn.140021d48
mov word [rbp + rbx*2 + 2], 0
lea rdx, [rsp + 0x468]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14000a7c2
mov r13, rax
mov qword [rsp + 0x30], r14
lea rbx, [rsp + 0x494]
lea r12, [0x14003db74]
mov rsi, qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea rbp, [0x14003db72]
lea r14, [0x14003d2b4]
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
mov qword [rsp + 0x48], rax
mov rcx, rbx
mov rdx, r12
call fcn.140021d74
test eax, eax
je 0x14000a67c
mov rcx, rbx
mov rdx, rbp
call fcn.140021d74
test eax, eax
je 0x14000a67c
mov qword [rsp + 0x20], rbx
mov edx, 0x104
mov rcx, rdi
mov r8, r14
mov r9, qword [rsp + 0x40]
call fcn.140004840
test byte [rsp + 0x468], 0x10
jne 0x14000a650
mov rcx, rdi
call fcn.1400136b0
mov rbp, rax
lea rcx, [rax + rax]
add rcx, 6
call fcn.140021290
test rax, rax
je 0x14000a795
mov r15, rax
mov r14, rbx
mov rcx, rax
lea rbx, [0x14003a6c8]
mov rdx, rbx
call fcn.140013600
lea rcx, [r15 + 2]
mov rdx, rdi
call fcn.140021d48
lea rcx, [r15 + rbp*2]
add rcx, 2
mov rdx, rbx
call fcn.140021d48
mov word [r15 + rbp*2 + 4], 0
mov ecx, 0x30
call fcn.140013930
mov r13, rax
mov dword [rax + 8], 1
mov qword [rax + 0x10], 0
lea rax, [0x14003a7a0]
mov qword [r13], rax
movups xmmword [r13 + 0x18], xmm6
mov dword [r13 + 0x28], 0
mov rcx, r13
mov rdx, r15
call fcn.140002740
test eax, eax
jne 0x14000a812
mov rcx, r15
call fcn.140020db8
mov rdx, qword [rsp + 0x38]
mov rax, qword [rdx + 8]
lea rcx, [rax + 0x10]
test rax, rax
cmove rcx, rdx
mov qword [rcx], r13
mov qword [rdx + 8], r13
inc dword [rdx + 0x10]
mov rbx, r14
mov r13, qword [rsp + 0x48]
lea rbp, [0x14003db72]
lea r14, [0x14003d2b4]
lea rdi, [rsp + 0x50]
jmp 0x14000a67c
mov edx, 0x104
mov rcx, rdi
lea r8, [0x14003db64]
mov r9, rdi
call fcn.140004840
mov rcx, rdi
mov rdx, qword [rsp + 0x38]
call fcn.14000a3f0
test eax, eax
jne 0x14000a7c9
mov rcx, r13
lea rdx, [rsp + 0x468]
call rsi
test eax, eax
jne 0x14000a51b
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x40]
call fcn.1400136b0
mov rbx, rax
lea rcx, [rax + rax]
add rcx, 6
call fcn.140021290
test rax, rax
je 0x14000a795
mov rsi, rax
lea rbp, [0x14003a6c8]
mov rcx, rax
mov rdx, rbp
call fcn.140013600
lea rcx, [rsi + 2]
mov rdx, qword [rsp + 0x40]
call fcn.140021d48
lea rcx, [rsi + rbx*2]
add rcx, 2
mov rdx, rbp
call fcn.140021d48
mov word [rsi + rbx*2 + 4], 0
mov ecx, 0x30
call fcn.140013930
mov rbx, rax
mov dword [rax + 8], 1
mov qword [rax + 0x10], 0
lea rax, [0x14003a7d0]
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.1400035f0
test eax, eax
mov r14, qword [rsp + 0x30]
je 0x14000a79c
mov edi, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000a8aa
lea rcx, [0x140047ea8]
lea rdx, str.add_dir_entries_Parse_error_on_close:__S__err:__d
mov r8, rsi
mov r9d, edi
call fcn.1400116d0
mov rcx, rsi
call fcn.140020db8
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
jmp 0x14000a869
mov edi, 5
jmp 0x14000a80b
mov rdx, qword [rsp + 0x38]
mov rax, qword [rdx + 8]
lea rcx, [rax + 0x10]
test rax, rax
cmove rcx, rdx
mov qword [rcx], rbx
mov qword [rdx + 8], rbx
inc dword [rdx + 0x10]
mov rcx, rsi
call fcn.140020db8
xor edi, edi
jmp 0x14000a874
mov ebp, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp ebp, dword [rcx + 4]
jg 0x14000a8ef
lea rcx, [0x140047ea8]
lea rdx, str.add_dir_entries_error:__S__err:__d
lea r8, [rsp + 0x50]
mov edi, eax
mov r9d, eax
call fcn.1400116d0
mov r14, qword [rsp + 0x30]
jmp 0x14000a874
mov ebp, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp ebp, dword [rcx + 4]
mov r14, qword [rsp + 0x30]
jg 0x14000a936
lea rcx, [0x140047ea8]
lea rdx, str.add_dir_entries_Parse_error_on_recurse:__S__err:__d
mov r8, r15
mov edi, eax
mov r9d, eax
call fcn.1400116d0
mov rcx, r15
call fcn.140020db8
mov rax, qword [r13]
mov rax, qword [rax]
mov rcx, r13
mov edx, 1
call qword [case.0x140013be6.0]
mov rcx, r14
call fcn.14001396c
mov rcx, qword [rsp + 0x6b8]
xor rcx, rsp
call fcn.140023af0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x6c0]
add rsp, 0x6d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400480b8]
mov ebp, edi
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x14000a766
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
mov edi, ebp
jmp 0x14000a766
lea rcx, [0x1400480b8]
mov esi, eax
call fcn.140013ae0
mov eax, esi
cmp dword [0x1400480b8], 0xffffffff
jne 0x14000a7ee
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
mov eax, esi
jmp 0x14000a7ee
lea rcx, [0x1400480b8]
mov esi, eax
call fcn.140013ae0
mov eax, esi
cmp dword [0x1400480b8], 0xffffffff
jne 0x14000a83c
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
mov eax, esi
jmp 0x14000a83c