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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x3a8]
sub rsp, 0x490
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, rdx
mov rbx, rcx
movzx eax, byte [rcx + 8]
test al, al
jne 0x14004c8f2
lea rcx, [rbp + 0x18]
call fcn.14001c0d0
nop
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.14001c0d0
nop
lea rdx, [0x1402d29e8]
lea rcx, [rbp + 0x68]
call fcn.14001c950
nop
xor r8d, r8d
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x18]
call fcn.14001f950
mov edi, eax
lea rcx, [rbp + 0x68]
call fcn.14001d440
test edi, edi
jle 0x14004c69f
lea rcx, [rbp + 0x40]
call fcn.14001cac0
nop
lea rcx, [rbp + 0x90]
call fcn.14001cac0
nop
xor r9d, r9d
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140029ec0
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.14001d690
nop
lea rcx, [rbp + 0x90]
call fcn.14001d440
nop
lea rcx, [rbp + 0x40]
jmp 0x14004c6cb
lea rdx, [0x1402d29c0]
lea rcx, [rbp + 0xb8]
call fcn.14001c950
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x18]
call fcn.14001d850
nop
lea rcx, [rbp + 0xb8]
call fcn.14001d440
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.14004c970
test al, al
jne 0x14004c8df
lea rcx, [rbp + 0x18]
call fcn.14002aa20
mov rcx, rax
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14004c8df
xor r14d, r14d
nop dword [rax]
movzx ecx, byte [rbx + 8]
test cl, cl
jne 0x14004c8d5
xor dil, dil
lea rdx, [rbp + 0x15c]
lea rcx, [rbp - 0x60]
call fcn.14001c950
nop
lea rdx, [0x1402d03c4]
lea rcx, [rbp - 0x60]
call fcn.14001d8d0
test al, al
jne 0x14004c758
lea rdx, [0x1402d29b4]
lea rcx, [rbp - 0x60]
call fcn.14001d8d0
test al, al
je 0x14004c75b
mov dil, 1
test dil, dil
jne 0x14004c8b2
lea rdx, [0x1402d03d8]
lea rcx, [rbp + 0xe0]
call fcn.14001c950
nop
lea r8, [rbp + 0xe0]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x108]
call fcn.14001da00
nop
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14001da00
nop
lea rcx, [rbp + 0x108]
call fcn.14001d440
nop
lea rcx, [rbp + 0xe0]
call fcn.14001d440
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.14004c970
test al, al
sete dil
lea rcx, [rsp + 0x30]
call fcn.14001cac0
nop
lea rcx, [rsp + 0x58]
call fcn.14001cac0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov byte [rbp - 0x64], 0
mov dword [rbp - 0x68], r14d
mov qword [rbp - 0x80], r14
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x30]
call fcn.14001d690
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.14001d690
lea rcx, [rbp + 0x144]
call fcn.140032fc0
mov qword [rbp - 0x78], rax
lea rcx, [rbp + 0x134]
call fcn.140032fc0
mov qword [rbp - 0x70], rax
test byte [rbp + 0x130], 0x10
je 0x14004c860
mov byte [rbp - 0x64], 1
cmp byte [rbx + 2], 0
jne 0x14004c91b
cmp byte [rbx], 0
je 0x14004c859
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.14004c5c0
test dil, dil
je 0x14004c894
jmp 0x14004c886
cmp byte [rbx + 1], 0
jne 0x14004c894
test dil, dil
je 0x14004c894
mov byte [rbp - 0x64], 0
mov ecx, dword [rbp + 0x14c]
shl rcx, 0x20
mov eax, dword [rbp + 0x150]
add rcx, rax
mov qword [rbp - 0x80], rcx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004caf0
nop
lea rcx, [rsp + 0x58]
call fcn.14001d440
lea rcx, [rsp + 0x30]
call fcn.14001d440
nop
lea rcx, [rbp - 0x38]
call fcn.14001d440
lea rdx, [rbp + 0x130]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
lea rcx, [rbp - 0x60]
call fcn.14001d440
test edi, edi
jne 0x14004c710
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x10]
call fcn.14001d440
nop
lea rcx, [rbp + 0x18]
call fcn.14001d440
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140283120
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test dil, dil
je 0x14004c92d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004caf0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x58]
call fcn.14001d440
lea rcx, [rsp + 0x30]
call fcn.14001d440
nop
lea rcx, [rbp - 0x38]
call fcn.14001d440
nop
lea rcx, [rbp - 0x60]
call fcn.14001d440
jmp 0x14004c8df