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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140125058]
xor rax, rbp
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x28]
xor edx, edx
call fcn.140024bd0
lea r15, [rdi + 4]
lea rax, [rdi + 0x2b0]
mov qword [rbp - 0x48], rax
lea rax, [rdi + 0x260]
mov qword [rbp - 0x40], rax
lea r12, [rdi + 0x288]
lea r14, [rdi + 0x30]
mov r13, rbp
mov qword [rbp - 0x50], rsi
jmp 0x14001d7c8
mov rcx, r13
call fcn.140012160
cmp byte [rdi], 0
je 0x14001d800
mov rcx, qword [rdi + 0x258]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14001d880
cmp qword [rdi + 0x258], 0xffffffffffffffff
jne 0x14001d9a5
jmp 0x14001d9d0
mov rdx, qword [rdi + 0x2c8]
cmp qword [rdi + 0x2c0], rdx
je 0x14001db82
test rdx, rdx
mov rax, qword [rdi + 0x2b8]
cmove rdx, rax
add rdx, 0xffffffffffffffff
cmp rax, rdx
jb 0x14001dbc0
shl rdx, 5
add rdx, qword [rdi + 0x2b0]
mov rcx, qword [rbp - 0x40]
call fcn.1400121d0
mov rax, qword [rdi + 0x2b8]
mov rdx, qword [rdi + 0x2c8]
test rdx, rdx
je 0x14001d89d
lea rcx, [rdx - 1]
mov qword [rdi + 0x2c8], rcx
cmp rax, rdx
jb 0x14001dbd5
cmp rax, rcx
jae 0x14001d8b4
jmp 0x14001dbc7
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14001d9d0
lea rcx, [rax - 1]
mov qword [rdi + 0x2c8], rcx
mov rdx, rax
cmp rax, rcx
jb 0x14001dbc7
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14001dbce
mov rbx, rsi
shl rcx, 5
mov rsi, qword [rbp - 0x48]
add rcx, qword [rsi]
call fcn.140012160
mov rcx, rsi
call fcn.14001e020
mov eax, dword [rdi + 0x2a8]
cmp eax, 1
je 0x14001d929
test eax, eax
mov rsi, rbx
jne 0x14001d951
cmp qword [rdi + 0x2a0], 7
mov rax, r12
jbe 0x14001d908
mov rax, qword [rdi + 0x288]
mov qword [rbp - 0x10], rax
mov rax, qword [rdi + 0x298]
mov qword [rbp - 8], rax
mov rcx, qword [rbp - 0x40]
mov rdx, r13
lea r8, [rbp - 0x10]
call fcn.140013630
jmp 0x14001d959
lea rax, [0x1400f39b8]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov rcx, qword [rbp - 0x40]
mov rdx, r13
lea r8, [rbp - 0x10]
call fcn.140013630
mov rsi, rbx
jmp 0x14001d959
mov rcx, r13
call fcn.140011f80
cmp qword [rbp + 0x18], 7
mov rcx, r13
jbe 0x14001d967
mov rcx, qword [rbp]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r15
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, r13
call fcn.140012160
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14001d9d0
mov qword [rbp - 0x38], r14
cmp word [r14], 0
je 0x14001da13
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
cmp word [rdi + rax*2 + 0x32], 0
lea rax, [rax + 1]
jne 0x14001d9c0
jmp 0x14001da15
mov byte [rdi], 0
cmp dword [rdi + 0x2a8], 0
jne 0x14001d7c8
mov rcx, qword [rdi + 0x2a0]
test rcx, rcx
je 0x14001dadc
mov rax, r12
cmp rcx, 8
jb 0x14001d9fd
mov rax, qword [r12]
mov qword [rdi + 0x298], 1
mov dword [rax], 0x2a
jmp 0x14001d7c8
xor eax, eax
mov qword [rbp - 0x30], rax
mov rcx, r13
lea rdx, [rbp - 0x38]
call fcn.1400120b0
mov rcx, rdi
mov rdx, r13
call fcn.140026a40
test al, al
jne 0x14001d7c0
mov rbx, r12
mov r12d, dword [rdi + 4]
mov rcx, qword [rbp - 0x40]
mov rdx, rsi
mov r8, r13
call fcn.140013c30
test r12b, 0x10
je 0x14001db20
cmp byte [rdi + 0x280], 0
je 0x14001db20
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x14001da72
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x14001db20
mov edx, 1
mov rcx, qword [rbp - 0x48]
call fcn.14001dd00
mov rcx, qword [rdi + 0x2c8]
cmp qword [rdi + 0x2b8], rcx
jb 0x14001dbdc
shl rcx, 5
add rcx, qword [rdi + 0x2b0]
mov rdx, rsi
call fcn.140011fa0
mov rax, qword [rdi + 0x2b8]
mov rcx, qword [rdi + 0x2c8]
lea rsi, [rax - 1]
cmp rcx, rsi
jne 0x14001daf5
mov qword [rdi + 0x2c8], 0
jmp 0x14001db04
mov edx, 1
mov rcx, r12
lea r9, [0x1400f39b8]
call fcn.140003250
jmp 0x14001d7c8
mov rdx, rcx
inc rdx
mov qword [rdi + 0x2c8], rdx
jne 0x14001db07
mov rcx, rsi
cmp rax, rcx
mov rsi, qword [rbp - 0x50]
jb 0x14001dbe3
nop word cs:[rax + rax]
nop
and r12d, 0x10
shr r12d, 4
mov rcx, rdi
mov edx, r12d
call fcn.140026bf0
test al, al
mov r12, rbx
je 0x14001db75
mov eax, dword [rdi + 0x2a8]
cmp eax, 1
je 0x14001db4b
test eax, eax
jne 0x14001db75
jmp 0x14001db8c
cmp qword [rdi + 0x2a0], 8
mov rdx, r12
jb 0x14001db5c
mov rdx, qword [r12]
cmp qword [rbp + 0x18], 7
mov rcx, r13
jbe 0x14001db6a
mov rcx, qword [rbp]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14001db8c
mov rcx, rsi
call fcn.140012160
jmp 0x14001d7c0
mov rcx, rsi
call fcn.140011f80
jmp 0x14001db94
mov rcx, rbp
call fcn.140012160
lea rcx, [rbp - 0x28]
call fcn.140024cd0
mov rcx, qword [rbp + 0x20]
xor rcx, rbp
call fcn.1400a6c00
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
int3
int3
int3
int3
int3