Function at 0x14001b654
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2c8]
sub rsp, 0x390
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rsi, r9
mov byte [rsp + 0x30], r8b
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x68], rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.1400349a0
lea ebx, [r13 + 7]
cmp qword [rsp + 0x58], r13
je 0x14001b961
mov rdx, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rdx
ja 0x14001b6ec
sub rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + rdx*8]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], r13
mov word [rbp - 0x40], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x48]
call fcn.140005514
nop
lea rcx, [rsp + 0x38]
call fcn.1400324d4
mov r8d, 0x2a
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x20]
call fcn.140018868
lea rcx, [rax + 8]
cmp qword [rax + 0x20], 8
jb 0x14001b73e
mov rcx, qword [rcx]
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x78], rax
cmp qword [rbp], 8
jb 0x14001b760
mov rcx, qword [rbp - 0x18]
call fcn.1400110f8
mov qword [rbp], rbx
mov qword [rbp - 8], r13
mov word [rbp - 0x18], r13w
cmp rdi, 0xffffffffffffffff
jne 0x14001b778
jmp 0x14001b941
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x58], r13
mov word [rbp - 0x68], r13w
lea rax, [rbp + 0x5c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r13w
jne 0x14001b78d
lea rdx, [rbp + 0x5c]
lea rcx, [rbp - 0x70]
call fcn.1400053ec
nop
mov qword [rsp + 0x20], 1
lea r9, [0x140048adc]
mov r8, qword [rbp - 0x58]
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140017420
test eax, eax
je 0x14001b9d0
mov qword [rsp + 0x20], 2
lea r9, [0x140048ae0]
mov r8, qword [rbp - 0x58]
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140017420
test eax, eax
je 0x14001b9d0
lea rbx, [rbp - 0x68]
mov rdx, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rbx, rdx
lea rax, [rbp - 0x68]
cmovae rax, rdx
mov r8, qword [rbp - 0x58]
lea rax, [rax + r8*2]
lea r12, [rbp - 0x68]
cmovae r12, rdx
mov rcx, rax
sub rcx, r12
inc rcx
shr rcx, 1
cmp r12, rax
mov eax, 0
cmova rcx, rax
test rcx, rcx
je 0x14001b85d
sub r12, rbx
mov r15, rcx
movzx ecx, word [r12 + rbx]
call qword [sym.imp.msvcrt.dll_towupper]
mov word [rbx], ax
lea rbx, [rbx + 2]
inc r13
cmp r13, r15
jne 0x14001b83f
mov r8, qword [rbp - 0x58]
xor r13d, r13d
test byte [rbp + 0x30], 0x10
je 0x14001b8ce
cmp byte [rsp + 0x30], r13b
je 0x14001b8c8
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rax, qword [rbp - 0x68]
cmp word [rax + r8*2 - 2], 0x5c
je 0x14001b898
lea r8d, [r13 + 1]
lea rdx, [0x14004a0d8]
lea rcx, [rbp - 0x70]
call fcn.140009010
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 8]
call fcn.140008f2c
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400349a0
nop
cmp qword [rbp + 0x28], 8
jb 0x14001b8c8
mov rcx, qword [rbp + 0x10]
call fcn.1400110f8
test byte [rbp + 0x30], 0x10
jne 0x14001b90d
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.140039dc4
test al, al
je 0x14001b90d
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 8]
call fcn.140008f2c
nop
mov rdx, rax
mov rcx, rsi
call fcn.140034fd4
nop
cmp qword [rbp + 0x28], 8
jb 0x14001b90d
mov rcx, qword [rbp + 0x10]
call fcn.1400110f8
nop
cmp qword [rbp - 0x50], 8
jb 0x14001b91d
mov rcx, qword [rbp - 0x68]
call fcn.1400110f8
mov ebx, 7
lea rdx, [rbp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001b778
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rbp - 0x28], 8
jb 0x14001b951
mov rcx, qword [rbp - 0x40]
call fcn.1400110f8
cmp qword [rsp + 0x58], r13
jne 0x14001b6db
mov r15, qword [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.14002add8
nop
cmp qword [r15 + 0x20], 8
jb 0x14001b97c
mov rcx, qword [r15 + 8]
call fcn.1400110f8
mov qword [r15 + 0x20], rbx
mov qword [r15 + 0x18], r13
mov word [r15 + 8], r13w
cmp qword [r14 + 0x20], 8
jb 0x14001b999
mov rcx, qword [r14 + 8]
call fcn.1400110f8
mov qword [r14 + 0x20], rbx
mov qword [r14 + 0x18], r13
mov word [r14 + 8], r13w
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140012560
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rbp - 0x50], 8
jb 0x14001b922
mov rcx, qword [rbp - 0x68]
call fcn.1400110f8
jmp 0x14001b922