Function at 0x14006a290
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r12
push r13
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0xe8
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov qword [r11 + 0x18], rdi
mov r15, rdx
mov qword [r11 - 0x38], r14
mov rbx, rcx
xor r12d, r12d
movabs r13, 0x7fffffffffffffff
lea rsi, [0x140150758]
nop word [rax + rax]
movzx eax, byte [rbx]
test al, al
jne 0x14006a4ca
cmp qword [rbx + 0x2d0], r12
je 0x14006a80c
test al, al
jne 0x14006a4ca
mov rcx, qword [rbx + 0x2d0]
mov rax, r12
add rcx, qword [rbx + 0x2c8]
mov rdx, qword [rbx + 0x2b0]
test rdx, rdx
je 0x14006a328
mov rdx, qword [rdx]
test rdx, rdx
je 0x14006a328
mov rax, qword [rdx]
lea rdx, [rcx - 1]
test rax, rax
je 0x14006a346
mov rcx, qword [rax]
test rcx, rcx
je 0x14006a346
mov rax, qword [rcx]
test rax, rax
je 0x14006a346
mov rax, qword [rax]
jmp 0x14006a349
mov rax, r12
mov rcx, qword [rax + 0x10]
lea rdi, [rbx + 0x260]
mov rax, qword [rax + 8]
dec rcx
and rcx, rdx
mov rdx, qword [rax + rcx*8]
cmp rdi, rdx
je 0x14006a376
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.140029d5c
mov rax, qword [rbx + 0x2d0]
mov rcx, qword [rbx + 0x2c8]
dec rax
add rcx, rax
mov rax, qword [rbx + 0x2c0]
dec rax
and rcx, rax
mov rax, qword [rbx + 0x2b8]
mov rcx, qword [rax + rcx*8]
call fcn.1400599c0
sub qword [rbx + 0x2d0], 1
jne 0x14006a3b8
mov qword [rbx + 0x2c8], r12
mov edx, dword [rbx + reloc.SHELL32.dll_IsUserAnAdmin]
test edx, edx
je 0x14006a3ec
cmp edx, 1
je 0x14006a3da
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
jmp 0x14006a43b
mov qword [rbp - 0x79], rsi
mov qword [rbp - 0x71], 1
movaps xmm0, xmmword [rbp - 0x79]
jmp 0x14006a419
cmp qword [rbx + 0x2a0], 8
jb 0x14006a3ff
mov rax, qword [rbx + 0x288]
jmp 0x14006a406
lea rax, [rbx + 0x288]
mov qword [rbp - 0x69], rax
mov rax, qword [rbx + 0x298]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
lea r8, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.14005add0
cmp qword [rbp + 0xf], 8
mov rcx, qword [rbp - 9]
jae 0x14006a43f
lea rcx, [rbp - 9]
xor r9d, r9d
mov dword [rsp + 0x28], 2
lea r14, [rbx + 4]
mov qword [rsp + 0x20], r12
mov r8, r14
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rbx + 0x258], rax
mov rax, qword [rbp + 0xf]
mov byte [rbx], 1
cmp rax, 8
jb 0x14006a4fa
mov rcx, qword [rbp - 9]
inc rax
cmp rax, r13
ja 0x14006a89b
add rax, rax
cmp rax, 0x1000
jb 0x14006a4c3
test cl, 0x1f
jne 0x14006a895
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006a88f
sub rcx, rax
cmp rcx, 8
jb 0x14006a889
cmp rcx, 0x27
ja 0x14006a883
mov rcx, rax
call fcn.140111e78
jmp 0x14006a4fa
mov rcx, qword [rbx + 0x258]
lea r14, [rbx + 4]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14006a4fa
mov rcx, qword [rbx + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx + 0x258], 0xffffffffffffffff
cmp qword [rbx + 0x258], 0xffffffffffffffff
jne 0x14006a52e
mov byte [rbx], r12b
cmp dword [rbx + reloc.SHELL32.dll_IsUserAnAdmin], r12d
jne 0x14006a2e0
lea rcx, [rbx + 0x288]
mov r8d, 1
mov rdx, rsi
call fcn.140029c40
jmp 0x14006a2e0
lea rdx, [rbx + 0x30]
test rdx, rdx
jne 0x14006a53c
mov r8, r12
jmp 0x14006a55a
cmp word [rdx], r12w
jne 0x14006a547
mov r8, r12
jmp 0x14006a55a
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14006a550
mov qword [rbp - 0x39], r12
mov esi, 7
mov qword [rbp - 0x31], rsi
mov word [rbp - 0x49], r12w
test r8, r8
jne 0x14006a57f
mov rdi, r12
mov qword [rbp - 0x39], r12
mov word [rbp - 0x49], r12w
jmp 0x14006a590
lea rcx, [rbp - 0x49]
call fcn.140029c40
mov rsi, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
xor edx, edx
lea rcx, [rbp - 0x49]
xor r8d, r8d
call fcn.140050760
cmp rax, 0xffffffffffffffff
je 0x14006a5c3
lea rcx, [rbp - 0x49]
cmp rdi, rax
jb 0x14006a8a1
cmp rsi, 8
mov qword [rbp - 0x39], rax
cmovae rcx, qword [rbp - 0x49]
mov word [rcx + rax*2], r12w
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.14006ffb0
test al, al
je 0x14006a63d
mov rax, qword [rbp - 0x31]
lea rsi, [0x140150758]
cmp rax, 8
jb 0x14006a2e0
mov rcx, qword [rbp - 0x49]
inc rax
cmp rax, r13
ja 0x14006a8bf
add rax, rax
cmp rax, 0x1000
jb 0x14006a633
test cl, 0x1f
jne 0x14006a8b9
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006a8b3
sub rcx, rax
cmp rcx, 8
jb 0x14006a8ad
cmp rcx, 0x27
ja 0x14006a8a7
mov rcx, rax
call fcn.140111e78
jmp 0x14006a2d0
mov esi, dword [r14]
lea rax, [rbp - 0x49]
shr esi, 4
lea rcx, [rbx + 0x260]
cmp qword [rbp - 0x31], 8
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x29]
cmovae rax, qword [rbp - 0x49]
mov qword [rbp - 0x59], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x51], rax
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14005add0
and sil, 1
je 0x14006a73f
cmp byte [rbx + 0x280], r12b
je 0x14006a73f
cmp qword [rbp - 0x11], 8
lea rcx, [rbp - 0x29]
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x14006a73f
lea rdi, [rbx + 0x2b0]
mov rax, qword [rdi + 0x20]
inc rax
cmp qword [rdi + 0x10], rax
ja 0x14006a6cd
mov rcx, rdi
call fcn.14006aab0
mov rax, qword [rdi + 0x10]
dec rax
and qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x20]
add rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x10]
dec rax
and rcx, rax
mov rax, qword [rdi + 8]
lea r14, [rcx*8]
cmp qword [r14 + rax], r12
jne 0x14006a70e
mov ecx, 0x20
call fcn.140111b94
mov rcx, qword [rdi + 8]
mov qword [r14 + rcx], rax
mov rax, qword [rdi + 8]
mov rcx, qword [r14 + rax]
test rcx, rcx
je 0x14006a73b
mov qword [rcx + 0x18], 7
lea rdx, [rbp - 0x29]
mov qword [rcx + 0x10], r12
or r9, 0xffffffffffffffff
xor r8d, r8d
mov word [rcx], r12w
call fcn.140029d5c
inc qword [rdi + 0x20]
test sil, sil
mov eax, r12d
setne al
inc eax
test dword [rbx + 0x284], eax
je 0x14006a793
mov ecx, dword [rbx + reloc.SHELL32.dll_IsUserAnAdmin]
test ecx, ecx
je 0x14006a84c
cmp ecx, 1
jne 0x14006a793
lea rdx, [rbx + 0x288]
cmp qword [rdx + 0x18], 8
jb 0x14006a776
mov rdx, qword [rdx]
cmp qword [rbp - 0x31], 8
lea rcx, [rbp - 0x49]
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14006a84c
mov rax, qword [rbp - 0x11]
cmp rax, 8
jb 0x14006a7ed
mov rcx, qword [rbp - 0x29]
inc rax
cmp rax, r13
ja 0x14006a8dd
add rax, rax
cmp rax, 0x1000
jb 0x14006a7e8
test cl, 0x1f
jne 0x14006a8d7
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006a8d1
sub rcx, rax
cmp rcx, 8
jb 0x14006a8cb
cmp rcx, 0x27
ja 0x14006a8c5
mov rcx, rax
call fcn.140111e78
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r12
mov word [rbp - 0x29], r12w
call fcn.1400599c0
jmp 0x14006a2d0
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], r12
mov word [r15], r12w
mov r14, qword [rsp + 0xe0]
mov rax, r15
mov rdi, qword [rsp + 0x130]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140111850
add rsp, 0xe8
pop r15
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
mov qword [r15 + 0x18], 7
lea rdx, [rbp - 0x29]
mov qword [r15 + 0x10], r12
or r9, 0xffffffffffffffff
xor r8d, r8d
mov word [r15], r12w
mov rcx, r15
call fcn.140029d5c
lea rcx, [rbp - 0x29]
call fcn.1400599c0
lea rcx, [rbp - 0x49]
call fcn.1400599c0
jmp 0x14006a81c
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.14002b76c
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3