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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov qword [rsp + 0x38], rdx
mov rdi, rcx
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea r15, [rcx + 4]
lea rax, [rcx + 0x2b0]
mov qword [rsp + 0x48], rax
lea r14, [rcx + 0x30]
lea rax, [rcx + 0x260]
mov qword [rsp + 0x40], rax
lea rbx, [rcx + 0x288]
lea rbp, [rsp + 0x70]
lea r13, [rsp + 0x50]
mov r12, qword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x14002e518
mov rcx, rbp
call fcn.14002ee30
cmp byte [rdi], 0
je 0x14002e550
mov rcx, qword [rdi + 0x258]
mov rdx, r15
call r12
test eax, eax
je 0x14002e600
cmp qword [rdi + 0x258], 0xffffffffffffffff
jne 0x14002e69f
jmp 0x14002e6c0
mov rax, qword [rdi + 0x2c8]
cmp qword [rdi + 0x2c0], rax
je 0x14002e851
test rax, rax
jne 0x14002e570
mov rax, qword [rdi + 0x2b8]
shl rax, 5
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rcx + rax]
add rdx, 0xffffffffffffffe0
mov rcx, qword [rsp + 0x40]
call fcn.14002eea0
mov rcx, qword [rdi + 0x2c8]
test rcx, rcx
jne 0x14002e5a0
mov rcx, qword [rdi + 0x2b8]
add rcx, 0xffffffffffffffff
mov qword [rdi + 0x2c8], rcx
shl rcx, 5
add rcx, qword [rdi + 0x2b0]
call fcn.14002ee30
mov rcx, qword [rsp + 0x48]
call fcn.14002eb60
mov eax, dword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
cmp eax, 1
je 0x14002e61d
test eax, eax
jne 0x14002e646
cmp qword [rdi + 0x2a0], 7
mov rax, rbx
jbe 0x14002e5e8
mov rax, qword [rdi + 0x288]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + 0x298]
mov qword [rsp + 0x68], rax
jmp 0x14002e632
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14002e6c0
lea rax, [0x140149d98]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov rcx, qword [rsp + 0x40]
mov rdx, rbp
lea r8, [rsp + 0x60]
call fcn.1400307e0
jmp 0x14002e64e
mov rcx, rbp
call fcn.14002ec50
cmp qword [rsp + 0x88], 7
mov rcx, rbp
jbe 0x14002e661
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
xor r9d, r9d
mov r8, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, rbp
call fcn.14002ee30
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14002e6c0
mov qword [rsp + 0x50], r14
cmp word [r14], 0
je 0x14002e702
xor eax, eax
nop dword [rax]
cmp word [rdi + rax*2 + 0x32], 0
lea rax, [rax + 1]
jne 0x14002e6b0
jmp 0x14002e704
mov byte [rdi], 0
cmp dword [rdi + reloc.SHELL32.dll_IsUserAnAdmin], 0
jne 0x14002e518
mov rcx, qword [rdi + 0x2a0]
test rcx, rcx
je 0x14002e7fb
mov rax, rbx
cmp rcx, 8
jb 0x14002e6ec
mov rax, qword [rbx]
mov qword [rdi + 0x298], 1
mov dword [rax], 0x2a
jmp 0x14002e518
xor eax, eax
mov qword [rsp + 0x58], rax
mov rcx, rbp
mov rdx, r13
call fcn.14002ed80
mov rcx, rdi
mov rdx, rbp
call fcn.1400692a0
test al, al
jne 0x14002e510
mov rsi, r13
mov r13d, dword [rdi + 4]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov r8, rbp
call fcn.140031b20
test r13b, 0x10
je 0x14002e7d0
cmp byte [rdi + 0x280], 0
je 0x14002e7d0
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x18], 7
mov rcx, rax
jbe 0x14002e769
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x14002e7d0
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.14002e950
mov rcx, qword [rdi + 0x2c8]
shl rcx, 5
add rcx, qword [rdi + 0x2b0]
mov rdx, qword [rsp + 0x38]
call fcn.14002ec70
mov rax, qword [rdi + 0x2b8]
mov rcx, qword [rdi + 0x2c8]
add rax, 0xffffffffffffffff
cmp rcx, rax
lea rax, [rcx + 1]
mov ecx, 0
cmove rax, rcx
mov qword [rdi + 0x2c8], rax
nop word [rax + rax]
and r13d, 0x10
shr r13d, 4
mov rcx, rdi
mov edx, r13d
call fcn.140069460
test al, al
mov r13, rsi
je 0x14002e842
mov eax, dword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
cmp eax, 1
je 0x14002e814
test eax, eax
jne 0x14002e842
jmp 0x14002e860
mov edx, 1
mov rcx, rbx
lea r9, [0x140149d98]
call fcn.140006120
jmp 0x14002e518
cmp qword [rdi + 0x2a0], 8
mov rdx, rbx
jb 0x14002e824
mov rdx, qword [rbx]
cmp qword [rsp + 0x88], 7
mov rcx, rbp
jbe 0x14002e837
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14002e860
mov rcx, qword [rsp + 0x38]
call fcn.14002ee30
jmp 0x14002e510
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call fcn.14002ec50
jmp 0x14002e86f
lea rcx, [rsp + 0x70]
call fcn.14002ee30
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14011a890
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret