Function at 0x14000a4d0
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 [0x140047010]
xor rax, rsp
mov qword [rsp + 0x6b8], rax
lea r8, [0x14003fb1a]
lea r15, [rsp + 0x260]
mov edx, 0x104
mov rcx, r15
mov qword [rsp + 0x40], r9
call fcn.140004870
lea rax, [0x140049440]
lea rbp, [0x140049a70]
cmp byte [0x140049438], 0
cmovne rbp, rax
mov rcx, rbp
call fcn.140013730
mov rsi, rax
mov rcx, r15
call fcn.140013730
mov rbx, rax
add rax, rsi
add rax, 2
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.140013644
mov r14, rax
mov rcx, rax
mov rdx, rbp
call fcn.140013680
lea rbp, [r14 + rsi*2]
lea rdx, [0x14003fb00]
mov rcx, rbp
call fcn.140022938
lea rcx, [r14 + rsi*2]
add rcx, 2
mov rdx, r15
call fcn.140022938
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 0x14000a8a2
mov r13, rax
mov qword [rsp + 0x30], r14
lea rbx, [rsp + 0x494]
lea r12, [0x14003fb06]
mov rsi, qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea rbp, [0x14003fb04]
lea r14, [0x14003f246]
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
mov qword [rsp + 0x48], rax
mov rcx, rbx
mov rdx, r12
call fcn.140022964
test eax, eax
je 0x14000a75c
mov rcx, rbx
mov rdx, rbp
call fcn.140022964
test eax, eax
je 0x14000a75c
mov qword [rsp + 0x20], rbx
mov edx, 0x104
mov rcx, rdi
mov r8, r14
mov r9, qword [rsp + 0x40]
call fcn.140004870
test byte [rsp + 0x468], 0x10
jne 0x14000a730
mov rcx, rdi
call fcn.140013730
mov rbp, rax
lea rcx, [rax + rax]
add rcx, 6
call fcn.140021c30
test rax, rax
je 0x14000a875
mov r15, rax
mov r14, rbx
mov rcx, rax
lea rbx, [0x14003c6d8]
mov rdx, rbx
call fcn.140013680
lea rcx, [r15 + 2]
mov rdx, rdi
call fcn.140022938
lea rcx, [r15 + rbp*2]
add rcx, 2
mov rdx, rbx
call fcn.140022938
mov word [r15 + rbp*2 + 4], 0
mov ecx, 0x30
call fcn.1400139b0
mov r13, rax
mov dword [rax + 8], 1
mov qword [rax + 0x10], 0
lea rax, [0x14003c7b0]
mov qword [r13], rax
movups xmmword [r13 + 0x18], xmm6
mov dword [r13 + 0x28], 0
mov rcx, r13
mov rdx, r15
call fcn.140002770
test eax, eax
jne 0x14000a8f2
mov rcx, r15
call fcn.140021758
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, [0x14003fb04]
lea r14, [0x14003f246]
lea rdi, [rsp + 0x50]
jmp 0x14000a75c
mov edx, 0x104
mov rcx, rdi
lea r8, [0x14003faf6]
mov r9, rdi
call fcn.140004870
mov rcx, rdi
mov rdx, qword [rsp + 0x38]
call fcn.14000a4d0
test eax, eax
jne 0x14000a8a9
mov rcx, r13
lea rdx, [rsp + 0x468]
call rsi
test eax, eax
jne 0x14000a5fb
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x40]
call fcn.140013730
mov rbx, rax
lea rcx, [rax + rax]
add rcx, 6
call fcn.140021c30
test rax, rax
je 0x14000a875
mov rsi, rax
lea rbp, [0x14003c6d8]
mov rcx, rax
mov rdx, rbp
call fcn.140013680
lea rcx, [rsi + 2]
mov rdx, qword [rsp + 0x40]
call fcn.140022938
lea rcx, [rsi + rbx*2]
add rcx, 2
mov rdx, rbp
call fcn.140022938
mov word [rsi + rbx*2 + 4], 0
mov ecx, 0x30
call fcn.1400139b0
mov rbx, rax
mov dword [rax + 8], 1
mov qword [rax + 0x10], 0
lea rax, [0x14003c7e0]
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.140003620
test eax, eax
mov r14, qword [rsp + 0x30]
je 0x14000a87c
mov edi, eax
mov eax, dword [0x14004a098]
mov ecx, dword [0x140047e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000a98a
lea rcx, [0x140049e88]
lea rdx, str.add_dir_entries_Parse_error_on_close:__S__err:__d
mov r8, rsi
mov r9d, edi
call fcn.1400116a0
mov rcx, rsi
call fcn.140021758
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
jmp 0x14000a949
mov edi, 5
jmp 0x14000a8eb
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.140021758
xor edi, edi
jmp 0x14000a954
mov ebp, dword [0x14004a098]
mov ecx, dword [0x140047e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp ebp, dword [rcx + 4]
jg 0x14000a9cf
lea rcx, [0x140049e88]
lea rdx, str.add_dir_entries_error:__S__err:__d
lea r8, [rsp + 0x50]
mov edi, eax
mov r9d, eax
call fcn.1400116a0
mov r14, qword [rsp + 0x30]
jmp 0x14000a954
mov ebp, dword [0x14004a098]
mov ecx, dword [0x140047e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp ebp, dword [rcx + 4]
mov r14, qword [rsp + 0x30]
jg 0x14000aa16
lea rcx, [0x140049e88]
lea rdx, str.add_dir_entries_Parse_error_on_recurse:__S__err:__d
mov r8, r15
mov edi, eax
mov r9d, eax
call fcn.1400116a0
mov rcx, r15
call fcn.140021758
mov rax, qword [r13]
mov rax, qword [rax]
mov rcx, r13
mov edx, 1
call qword [case.0x140013c66.0]
mov rcx, r14
call fcn.1400139ec
mov rcx, qword [rsp + 0x6b8]
xor rcx, rsp
call fcn.1400246e0
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, [0x14004a098]
mov ebp, edi
call fcn.140013b60
cmp dword [0x14004a098], 0xffffffff
jne 0x14000a846
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
mov edi, ebp
jmp 0x14000a846
lea rcx, [0x14004a098]
mov esi, eax
call fcn.140013b60
mov eax, esi
cmp dword [0x14004a098], 0xffffffff
jne 0x14000a8ce
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
mov eax, esi
jmp 0x14000a8ce
lea rcx, [0x14004a098]
mov esi, eax
call fcn.140013b60
mov eax, esi
cmp dword [0x14004a098], 0xffffffff
jne 0x14000a91c
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
mov eax, esi
jmp 0x14000a91c