Function at 0x1400169f4
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov sil, r8b
mov rbx, rdx
cmp qword [rcx + 0x18], 8
jb 0x140016a30
mov rcx, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140016c4b
xor r14d, r14d
lea r12d, [r14 + 7]
lea rdx, [0x1400af638]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140016c34
lea rdx, [0x1400af63c]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140016c34
test sil, sil
je 0x140016b66
test byte [rsp + 0x40], 0x10
je 0x140016c34
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r12
mov word [rsp + 0x20], r14w
lea rax, [rsp + 0x6c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x140016ab5
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140006170
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140016b0f
mov qword [rdx], r14
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x30], r14
mov rax, r12
mov qword [rsp + 0x38], rax
mov word [rsp + 0x20], r14w
add qword [rbx + 8], 0x20
jmp 0x140016b21
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140012820
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140016c34
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016c2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016c82
jmp 0x140016c2f
test byte [rsp + 0x40], 0x10
jne 0x140016c34
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r12
mov word [rsp + 0x20], r14w
lea rax, [rsp + 0x6c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x140016b8f
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140006170
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140016be9
mov qword [rdx], r14
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x30], r14
mov rax, r12
mov qword [rsp + 0x38], rax
mov word [rsp + 0x20], r14w
add qword [rbx + 8], 0x20
jmp 0x140016bfb
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140012820
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140016c34
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016c2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016c7c
call fcn.14005cb40
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x140016a4f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14005ccc0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2a0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140067514
int3
call fcn.140067514
int3