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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x900
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x8f0], rax
mov rbp, r8
mov qword [rsp + 0x50], r8
mov esi, edx
mov rbx, rcx
mov dil, 1
test rcx, rcx
je 0x140061cfe
mov edx, 0x5c
call fcn.1400654a8
test rax, rax
je 0x140061cec
cmp word [rax + 2], 0
je 0x140061cfe
lea r8, [0x1400ad338]
mov rdx, rsi
mov rcx, rbx
call fcn.140065928
mov r8, rbp
mov edx, 4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x140061d1a
xor al, al
jmp 0x140061f96
lea rcx, [rsp + 0x4d0]
mov r8, rbx
mov edx, 0x104
call fcn.140065de0
lea rcx, [rsp + 0x4d0]
mov edx, 0x5c
call fcn.1400654a8
test rax, rax
je 0x140061d4d
cmp word [rax + 2], 0
je 0x140061d66
lea r8, [0x1400ad338]
lea rcx, [rsp + 0x4d0]
mov edx, 0x104
call fcn.140065928
lea r8, [0x1400adb90]
lea rcx, [rsp + 0x4d0]
mov edx, 0x104
call fcn.140065928
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140061f8b
nop
test dil, dil
je 0x140061f8b
cmp dword [rsp + 0x60], 0x10
lea rsi, [rsp + 0x8c]
lea rdi, [0x1400ad340]
mov ecx, 2
jne 0x140061ec6
repe cmpsw word [rsi], word [rdi]
je 0x140061f72
lea rsi, [rsp + 0x8c]
lea rdi, [0x1400b6418]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x140061f72
xor esi, esi
lea r9, [rsp + 0x2c0]
lea rdx, [rsp + 0x2b0]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 3]
lea rcx, [rsp + 0x4d0]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0x100
call fcn.140064fb8
lea r9, [rsp + 0x2c0]
lea r8, [rsp + 0x2b0]
lea rcx, [rsp + 0x6e0]
mov edx, 0x104
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140066450
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x6e0]
call fcn.1400654a8
test rax, rax
je 0x140061e75
cmp word [rax + 2], si
je 0x140061e8e
lea r8, [0x1400ad338]
lea rcx, [rsp + 0x6e0]
mov edx, 0x104
call fcn.140065928
lea r8, [rsp + 0x8c]
lea rcx, [rsp + 0x6e0]
mov edx, 0x104
call fcn.140065928
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x6e0]
mov edx, 0x104
call fcn.140061ca0
test al, al
jmp 0x140061f6c
repe cmpsw word [rsi], word [rdi]
je 0x140061f72
lea rsi, [rsp + 0x8c]
lea rdi, [0x1400b6418]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x140061f72
lea rcx, [rsp + 0x2c0]
mov r8, rbx
mov edx, 0x104
call fcn.140065de0
lea rcx, [rsp + 0x2c0]
mov edx, 0x5c
call fcn.1400654a8
test rax, rax
je 0x140061f1f
cmp word [rax + 2], 0
je 0x140061f38
lea r8, [0x1400ad338]
lea rcx, [rsp + 0x2c0]
mov edx, 0x104
call fcn.140065928
lea r8, [rsp + 0x8c]
lea rcx, [rsp + 0x2c0]
mov edx, 0x104
call fcn.140065928
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x2c0]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
je 0x140061d13
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne dil
jmp 0x140061da0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rsp + 0x8f0]
xor rcx, rsp
call fcn.140064b70
mov rbx, qword [rsp + 0x938]
add rsp, 0x900
pop rdi
pop rsi
pop rbp
ret