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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140100070]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r14b, r8b
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14007e1a7
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xor r15d, r15d
test eax, eax
je 0x14007e449
lea rdx, [0x1400e0b20]
lea rcx, [rsp + 0x48]
call fcn.14007ef18
nop
lea r8, [rsp + 0x48]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14007d448
nop
mov r12d, 0x1000
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14007e224
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, r12
jb 0x14007e21f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007e21f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9870
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
movdqa xmm0, xmmword [0x1400e2c90]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r15w
cmp rax, 0xffffffffffffffff
je 0x14007e3a9
lea rdx, [rbp - 0x24]
lea rcx, [rbp - 0x78]
call fcn.14007ef18
nop
lea r8, [rbp - 0x78]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14007d448
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14007ee6c
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14007e2c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, r12
jb 0x14007e2c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007e3a2
call fcn.1400a9870
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14007e319
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r12
jb 0x14007e314
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007e3a2
call fcn.1400a9870
test byte [rbp - 0x50], 0x10
jne 0x14007e34f
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x14007e33d
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14007efb0
add qword [rbx + 8], 0x20
jmp 0x14007e38e
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, rbx
call fcn.140080e70
jmp 0x14007e38e
test r14b, r14b
je 0x14007e38e
lea rdx, [0x1400e0b28]
lea rcx, [rbp - 0x24]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
je 0x14007e38e
lea rdx, [0x1400e0b2c]
lea rcx, [rbp - 0x24]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
je 0x14007e38e
mov r8b, r14b
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14007e160
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jmp 0x14007e259
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rsi, 0xffffffffffffffff
je 0x14007e3b9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14007e3f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, r12
jb 0x14007e3ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007e43b
call fcn.1400a9870
movdqa xmm0, xmmword [0x1400e2c90]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14007e447
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, r12
jb 0x14007e442
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007e442
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400a9870
mov al, 1
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400a95a0
add rsp, 0x310
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret