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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x5c8]
sub rsp, 0x6c8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov qword [rsp + 0x30], r9
mov edi, r8d
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov ecx, 7
mov qword [rbp - 0x58], rcx
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov word [rbp - 0x70], bx
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x70], bx
test r8d, r8d
je 0x14002dfea
lea r8, [rbp - 0x70]
mov rcx, rsi
call fcn.140006b24
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp - 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002df15
mov qword [rsp + 0x68], 7
xor eax, eax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x50], ax
cmp word [rbp - 4], ax
jne 0x14002de12
mov r8d, eax
jmp 0x14002de24
lea rcx, [rbp - 4]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], ax
jne 0x14002de1a
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x50]
call fcn.1400083f8
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140006b24
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.140007eb8
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.140028b84
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor ecx, ecx
test eax, eax
je 0x14002df0a
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rcx
mov word [rsp + 0x50], cx
cmp word [rbp - 4], cx
jne 0x14002de9e
mov r8, rcx
jmp 0x14002deb0
lea rax, [rbp - 4]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], cx
jne 0x14002dea6
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x50]
call fcn.1400083f8
nop
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140006b24
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.140007eb8
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140028b84
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor ecx, ecx
test eax, eax
jne 0x14002de80
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14002df52
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14002df52
lea r9, str.file_search_failed
mov r8d, eax
mov edx, 0xf
lea rcx, [rbp + 0x220]
call fcn.14002c9a0
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
add edi, 0xffffffff
je 0x14002dfea
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rax
mov word [rbp - 0x50], ax
lea r8d, [rax + 1]
lea rdx, [0x140199e00]
lea rcx, [rbp - 0x50]
call fcn.1400083f8
nop
lea r8, [rbp - 0x50]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14002e024
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.140007eb8
mov rbx, qword [rsp + 0x50]
cmp qword [rsp + 0x58], rbx
je 0x14002dfdf
mov rsi, qword [rsp + 0x40]
mov r9, qword [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.14002dd48
add rbx, 0x20
cmp rbx, qword [rsp + 0x58]
jne 0x14002dfc1
lea rcx, [rsp + 0x50]
call fcn.14002adb4
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x70]
call fcn.140007eb8
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140022430
add rsp, 0x6c8
pop rdi
pop rsi
pop rbx
pop rbp
ret