Function at 0x14002d8e0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x3c0], rbx
mov rax, qword [0x1400bc190]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r15, rdx
mov qword [rsp + 0x48], rdx
xor r14b, r14b
xor edi, edi
mov esi, edi
mov qword [rsp + 0x28], rdi
mov ebx, edi
mov qword [rsp + 0x30], rbx
mov r12d, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rdi
mov word [rbp - 0x50], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp - 0x50]
call fcn.140005490
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14002dba1
mov byte [rsp + 0x20], 1
xor r15d, r15d
movabs r14, 0x6666666666666667
nop word [rax + rax]
test byte [rbp], 0x10
jne 0x14002db7f
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r15
mov word [rbp - 0x28], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x2c]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x2c]
lea rcx, [rbp - 0x28]
call fcn.1400055c0
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r15
mov word [rbp - 0x78], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x78]
call fcn.1400055c0
nop
lea rax, [rbp - 0x78]
cmp rax, rbx
jae 0x14002daac
lea rax, [rbp - 0x78]
cmp rsi, rax
ja 0x14002daac
lea rcx, [rbp - 0x78]
sub rcx, rsi
mov rax, r14
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp rbx, r12
jne 0x14002da77
lea rcx, [rsp + 0x28]
call fcn.140014a00
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
lea rax, [rdi + rdi*4]
lea rdx, [rsi + rax*8]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
test rbx, rbx
je 0x14002daa7
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
mov rcx, rbx
call fcn.1400053f0
nop
jmp 0x14002db55
cmp rbx, r12
jne 0x14002daca
lea rcx, [rsp + 0x28]
call fcn.140014a00
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
test rbx, rbx
je 0x14002db55
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
lea rax, [rbp - 0x78]
cmp rbx, rax
je 0x14002db55
cmp qword [rbx + 0x18], 8
jb 0x14002dafb
mov rcx, qword [rbx]
call fcn.140058288
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
cmp qword [rbp - 0x60], 8
jae 0x14002db29
mov r8, qword [rbp - 0x68]
lea r8, [r8 + r8 + 2]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140057d50
jmp 0x14002db34
mov rax, qword [rbp - 0x78]
mov qword [rbx], rax
mov qword [rbp - 0x78], r15
mov rax, qword [rbp - 0x68]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp - 0x60]
mov qword [rbx + 0x18], rax
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r15
mov word [rbp - 0x78], r15w
add rbx, 0x28
mov qword [rsp + 0x30], rbx
cmp qword [rbp - 0x60], 8
jb 0x14002db6f
mov rcx, qword [rbp - 0x78]
call fcn.140058288
nop
cmp qword [rbp - 0x10], 8
jb 0x14002db7f
mov rcx, qword [rbp - 0x28]
call fcn.140058288
lea rdx, [rbp]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002d9b0
movzx r14d, byte [rsp + 0x20]
mov r15, qword [rsp + 0x48]
xor edi, edi
lea rax, [rsp + 0x28]
cmp r15, rax
je 0x14002dbb8
lea rdx, [rsp + 0x28]
mov rcx, r15
call fcn.14002dc50
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rbp - 0x38], 8
jb 0x14002dbd2
mov rcx, qword [rbp - 0x50]
call fcn.140058288
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rdi
mov word [rbp - 0x50], di
test rsi, rsi
je 0x14002dc22
mov rdi, rsi
cmp rsi, rbx
je 0x14002dc1a
xor r12d, r12d
cmp qword [rdi + 0x18], 8
jb 0x14002dc01
mov rcx, qword [rdi]
call fcn.140058288
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
add rdi, 0x28
cmp rdi, rbx
jne 0x14002dbf2
mov rcx, rsi
call fcn.140058288
movzx eax, r14b
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400579a0
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret