Function at 0x14002f9f0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x3e0], rbx
mov rax, qword [0x140228058]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
xor r8d, r8d
xor edx, edx
call fcn.14002c3d0
mov qword [rsi], rax
mov dword [rsp + 0x20], 1
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rsp + 0x60], r15
cmp qword [sym.imp.KERNEL32.dll_FindClose], rax
je 0x14002fab2
lea rax, vtable.std::_Func_impl_no_alloc_int____cdecl___void____ptr64___int__void____ptr64_.0
mov qword [rsp + 0x28], rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x28]
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400152b0
nop
cmp qword [rbx + 0x10], 0
je 0x14002fe0b
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14002e350
nop
lea r8, [0x1401d5380]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140033ac0
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov qword [rbp - 0x70], r15
mov ecx, 7
mov qword [rbp - 0x68], rcx
mov word [rbp - 0x80], r15w
cmp rax, 0xffffffffffffffff
je 0x14002fd2f
lea r13, [0x1401d538c]
lea r12, [0x1401d5b18]
nop word [rax + rax]
lea rax, [rbp + 0x5c]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002fb50
cmp rdx, rcx
ja 0x14002fb8a
lea rdi, [rbp - 0x80]
cmp rcx, 8
cmovae rdi, qword [rbp - 0x80]
mov qword [rbp - 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x5c]
mov rcx, rdi
call fcn.14015c680
mov word [rbx + rdi], r15w
jmp 0x14002fb9a
lea r9, [rbp + 0x5c]
xor r8d, r8d
lea rcx, [rbp - 0x80]
call fcn.140015860
cmp dword [rbp + 0x30], 0
je 0x14002fd16
mov r9, qword [rbp - 0x70]
test r9, r9
je 0x14002fd16
lea r8, [rbp - 0x80]
mov r10, qword [rbp - 0x80]
mov r11, qword [rbp - 0x68]
cmp r11, 8
cmovae r8, r10
cmp r9, 1
jne 0x14002fbed
mov rdx, r9
mov rcx, r13
sub r8, r13
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14002fbed
add rcx, 2
sub rdx, 1
jne 0x14002fbd4
jmp 0x14002fd16
lea r8, [rbp - 0x80]
cmp r11, 8
cmovae r8, r10
cmp r9, 2
jne 0x14002fc28
mov rdx, r9
mov rcx, r12
sub r8, r12
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14002fc28
add rcx, 2
sub rdx, 1
jne 0x14002fc10
mov al, 1
jmp 0x14002fc2a
xor al, al
test al, al
jne 0x14002fd16
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
lea rax, [rbp + 0x5c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002fc51
lea rcx, [rsp + 0x28]
cmp rdx, 7
ja 0x14002fc83
mov qword [rsp + 0x38], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x5c]
call fcn.14015c680
mov word [rsp + rbx + 0x28], r15w
jmp 0x14002fc90
lea r9, [rbp + 0x5c]
xor r8d, r8d
call fcn.140015860
nop
mov rbx, qword [rsi]
mov rdi, qword [rbx + 8]
lea r9, [rsp + 0x28]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14002d5d0
mov rdx, qword [rsi + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x14002fe53
lea rcx, [rdx + 1]
mov qword [rsi + 8], rcx
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14002fd16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fd11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fe4d
call fcn.14013db80
lea rdx, [rbp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rcx, qword [rbp - 0x68]
test eax, eax
jne 0x14002fb40
cmp rcx, 8
jb 0x14002fd6b
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fd66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fe47
call fcn.14013db80
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14002fdbc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fdb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fe60
call fcn.14013db80
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x14002fe0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fe05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fe41
call fcn.14013db80
nop
lea rcx, [rbp - 0x40]
call fcn.1400151c0
mov rax, rsi
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14013df50
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
lea rcx, str.list_T__too_long
call fcn.14011ba24
nop
call fcn.14015fb1c
int3