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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [0x140045080]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov qword [rsp + 0x48], r9
mov rdi, r8
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x40], rdx
mov r13, rcx
mov rax, qword [rbp + 0x290]
mov qword [rsp + 0x50], rax
xor r14d, r14d
lea r8, [0x140032f10]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140001500
cmp qword [rax + 0x18], 7
jbe 0x14000bebe
mov rax, qword [rax]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14000bf13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bf0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c2b9
call fcn.1400123c8
movdqa xmm0, xmmword [0x140032ea0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r14w
cmp rsi, 0xffffffffffffffff
je 0x14000c28a
movzx ebx, byte [rsp + 0x30]
mov r8d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
mov r15, qword [rdi + 0x10]
mov rax, rcx
sub rax, r15
cmp rax, 1
jb 0x14000c2b3
mov r12, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14000bf6f
mov r12, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea r14, [r15 + 1]
mov edi, 7
lea rsi, [rsp + 0x60]
cmp r14, rdi
jbe 0x14000c00c
mov rdi, r14
or rdi, 7
cmp rdi, rcx
jbe 0x14000bfa9
mov rdi, rcx
lea rcx, [rdx + rdx]
jmp 0x14000bfca
cmp rdi, 0xa
cmovb rdi, r8
lea rcx, [rdi + 1]
cmp rcx, rdx
ja 0x14000c2c5
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000bff6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c2c5
mov rcx, rax
call fcn.14001238c
test rax, rax
je 0x14000c2bf
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000c007
test rcx, rcx
je 0x14000c005
call fcn.14001238c
mov rsi, rax
jmp 0x14000c007
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rdi
lea rdi, [r15 + r15]
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call fcn.140030000
mov word [rsi + rdi], 0x5c
xor eax, eax
mov word [rsi + r14*2], ax
lea rax, [rbp - 0x14]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14000c040
mov r14, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x14000c09b
lea rax, [r14 + rdi]
mov qword [rsp + 0x70], rax
lea rsi, [rsp + 0x60]
cmp rcx, 7
cmova rsi, qword [rsp + 0x60]
lea rcx, [rsi + r14*2]
lea r8, [rdi + rdi]
lea rdx, [rbp - 0x14]
call fcn.140030000
lea rax, [r14 + rdi]
xor r14d, r14d
mov word [rsi + rax*2], r14w
lea rax, [rsp + 0x60]
jmp 0x14000c0b8
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x14]
movzx r8d, bl
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140007380
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000c128
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c123
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c2cb
call fcn.1400123c8
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
test byte [rbp - 0x40], 0x10
je 0x14000c1b8
movzx ecx, word [rbp - 0x14]
movzx eax, word [rbp - 0x12]
cmp cx, 0x2e
jne 0x14000c16e
test ax, ax
je 0x14000c225
cmp cx, cx
jne 0x14000c16e
cmp ax, cx
jne 0x14000c16e
cmp word [rbp - 0x10], 0
je 0x14000c225
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14000c190
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140001f20
add qword [rdi + 8], 0x20
jmp 0x14000c19f
lea r8, [rbp - 0x80]
mov rdx, rax
mov rcx, rdi
call fcn.14000a680
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x80]
mov rdx, rdi
mov rcx, r13
call fcn.14000be50
jmp 0x14000c225
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x14000c1d8
cmp word [rsi], 0
je 0x14000c1d8
mov rdx, rsi
lea rcx, [rbp - 0x14]
call fcn.140019840
test eax, eax
je 0x14000c225
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14000c1f8
cmp word [rsi], 0
je 0x14000c1f8
mov rdx, rsi
lea rcx, [rbp - 0x14]
call fcn.140019840
test eax, eax
je 0x14000c225
mov rax, qword [r13 + 8]
cmp rax, qword [r13 + 0x10]
je 0x14000c215
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140001f20
add qword [r13 + 8], 0x20
jmp 0x14000c225
lea r8, [rbp - 0x80]
mov rdx, rax
mov rcx, r13
call fcn.14000a680
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000c261
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c25c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c2ad
call fcn.1400123c8
lea rdx, [rbp - 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000c281
mov rdi, qword [rsp + 0x58]
jmp 0x14000bf34
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140012860
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001955c
int3
call fcn.1400054a0
int3
call fcn.14001955c
int3
call fcn.14001955c
int3
call fcn.140005300
nop
call fcn.14001955c
nop
int3