Function at 0x14000bf48
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x14001e020]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, r9
mov rbx, rdx
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.14000658c
nop
cmp qword [rsp + 0x40], rsi
je 0x14000c07f
lea rcx, [rsp + 0x30]
call fcn.14000c850
test al, al
jne 0x14000c07f
lea rcx, [rsp + 0x30]
call fcn.14000c758
test al, al
jne 0x14000c07f
lea rcx, [rsp + 0x30]
call fcn.14000c7d4
test al, al
jne 0x14000c07f
mov rcx, qword [rsp + 0x40]
cmp rcx, 2
jb 0x14000c06b
lea rax, [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 8
cmovae rax, rdx
cmp word [rax], 0x5c
je 0x14000c03e
cmp word [rax], 0x2f
je 0x14000c03e
cmp rcx, 3
jb 0x14000c06b
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 2], 0x3a
jne 0x14000c06b
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 4], 0x5c
je 0x14000c062
cmp word [rax + 4], 0x2f
je 0x14000c062
jmp 0x14000c06b
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + 2], 0x5c
je 0x14000c05b
cmp word [rax + 2], 0x2f
mov al, 1
jne 0x14000c05e
mov al, sil
test al, al
jne 0x14000c06b
cmp rcx, 0x104
jb 0x14000c07f
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14000b9e4
test al, al
je 0x14000c2a3
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14000658c
nop
cmp qword [rbx + 0x18], 8
jb 0x14000c0a6
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140005a9c
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x70]
call fcn.140011010
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000c247
lea r13, [0x140018ab0]
test byte [rbp - 0x70], 0x10
je 0x14000c228
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x50]
call fcn.14000422c
nop
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x68]
cmp r9, 8
cmovae r8, rcx
cmp qword [rsp + 0x60], 1
jne 0x14000c179
mov r10d, 1
lea rax, [0x140018388]
mov rdx, rax
sub r8, rax
movzx eax, word [rdx]
cmp word [r8 + rdx], ax
jne 0x14000c179
add rdx, 2
sub r10, 1
jne 0x14000c163
jmp 0x14000c1f4
lea rdx, [rsp + 0x50]
cmp r9, 8
cmovae rdx, rcx
cmp qword [rsp + 0x60], 2
jne 0x14000c1b1
mov r10d, 2
mov r8, r13
sub rdx, r13
movzx eax, word [r8]
cmp word [rdx + r8], ax
jne 0x14000c1b1
add r8, 2
sub r10, 1
jne 0x14000c19a
jmp 0x14000c1f4
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14000c1da
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14000658c
add qword [rdi + 8], 0x20
jmp 0x14000c1ea
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rdi
call fcn.1400066cc
mov rcx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x68]
cmp r9, 8
jb 0x14000c228
lea rdx, [r9*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c223
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c286
call fcn.14000f020
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000c100
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000c292
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c28d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c28d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000f020
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000c2e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c2e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c2e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f020
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14000f000
add rsp, 0x2f0
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret