Function at 0x140011d80
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400395a0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
cmp qword [rcx + 0x10], 0
jne 0x140011e08
cmp qword [rcx + 0x18], 0x10
jb 0x140011de1
mov rcx, qword [rcx]
call fcn.140013704
mov qword [rdi + 0x18], 0xf
xor esi, esi
mov qword [rdi + 0x10], rsi
mov byte [rdi], sil
cmp qword [r14 + 0x18], 0x10
jb 0x140011e01
mov rcx, qword [r14]
call fcn.140013704
xor eax, eax
jmp 0x140012006
xor r8d, r8d
mov dl, 0x2f
call fcn.140012f80
mov r15d, 1
mov rbx, qword [rdi + 0x10]
or r8, 0xffffffffffffffff
mov rcx, rdi
cmp rax, r8
je 0x140011e41
mov dl, 0x2f
call fcn.140013110
lea rcx, [rbx - 1]
cmp rax, rcx
je 0x140011e63
lea rdx, [0x14002c1a8]
jmp 0x140011e58
mov dl, 0x5c
call fcn.140013110
lea rcx, [rbx - 1]
cmp rax, rcx
je 0x140011e63
lea rdx, [0x14002aea0]
mov r8, r15
mov rcx, rdi
call fcn.14000c630
mov r8, r14
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140011be0
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
xor esi, esi
cmp rax, 0xffffffffffffffff
je 0x140011fb1
nop
lea r8, [rbp - 0x54]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140011ca0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x140011f2e
cmp qword [rsp + 0x50], 0x10
jb 0x140011ed0
mov rcx, qword [rsp + 0x38]
call fcn.140013704
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
cmp qword [rbx + 0x18], 0x10
jae 0x140011f02
mov r8, qword [rbx + 0x10]
inc r8
je 0x140011f0d
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140013b10
jmp 0x140011f0d
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
mov qword [rbx], rsi
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
cmp qword [rsp + 0x70], 0x10
jb 0x140011f40
mov rcx, qword [rsp + 0x58]
call fcn.140013704
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x140011f92
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
mov edx, 0x80
call fcn.140015f3c
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
call fcn.1400156a0
test eax, eax
cmovne r15d, esi
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140011ea0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x50], 0x10
jb 0x140011fc3
mov rcx, qword [rsp + 0x38]
call fcn.140013704
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], 0
cmp qword [rdi + 0x18], 0x10
jb 0x140011fe5
mov rcx, qword [rdi]
call fcn.140013704
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov byte [rdi], 0
cmp qword [r14 + 0x18], 0x10
jb 0x140012003
mov rcx, qword [r14]
call fcn.140013704
mov eax, r15d
mov qword [r14 + 0x18], 0xf
mov qword [r14 + 0x10], rsi
mov byte [r14], 0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400168f0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret