Function at 0x14003a000
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, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov qword [rsp + 0x30], rdx
mov rdi, rcx
mov rax, qword [0x14010e038]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0xa0]
mov qword [rsi + 0x50], rax
movaps xmm6, xmmword [0x1400f2f80]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
lea r13, [rsp + 0x80]
mov rcx, r13
mov r9d, 0x82
call fcn.140068280
mov rcx, rsi
mov rdx, r13
xor r8d, r8d
call fcn.1400682b0
lea r12, [rdi + 4]
lea rax, [rdi + 0x30]
mov qword [rsp + 0x48], rax
lea r15, [rdi + 0x260]
lea r14, [rdi + 0x280]
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x38], rax
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp byte [rdi], 0
je 0x14003a1e0
mov rcx, qword [rdi + 0x258]
mov rdx, r12
call rsi
test eax, eax
je 0x14003a2ec
call rbp
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14003a2b7
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rsi
movaps xmmword [rsp + 0x80], xmm6
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x14003a494
call fcn.1400952c0
mov qword [rsp + 0x78], rax
mov rbx, r13
mov rcx, r13
lea rdx, [rsp + 0x70]
call fcn.14005c030
mov rcx, rdi
mov rdx, r13
call fcn.14003a900
test al, al
jne 0x14003a2dc
mov ebp, dword [rdi + 4]
mov qword [rsp + 0x60], rsi
movaps xmmword [rsp + 0x50], xmm6
mov rsi, r15
mov rcx, r15
lea rdx, [rsp + 0x50]
mov r8, rbx
call fcn.14002a0a0
test bpl, 0x10
jne 0x14003a428
and ebp, 0x10
shr ebp, 4
mov rcx, rdi
mov edx, ebp
call fcn.14003aa50
test al, al
mov qword [rsp + 0x40], rsi
je 0x14003a46a
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x14003a363
cmp byte [r14 + 0x17], 0
mov rdx, r14
js 0x14003a4a3
cmp byte [rsp + 0x97], 0
mov rcx, r13
jns 0x14003a1cc
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x14003a36b
jmp 0x14003a46a
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x14003a405
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x14003a4a0
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, r15
call fcn.140029a40
mov rcx, qword [rsp + 0x38]
call fcn.14003a830
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x14003a309
jmp 0x14003a330
mov rcx, r15
mov rdx, r13
lea r8, [rsp + 0x50]
call fcn.14005d1a0
cmp byte [rsp + 0x97], 0
mov rcx, r13
js 0x14003a323
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r12
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, r13
call fcn.14005c110
jmp 0x14003a0e9
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
mov rsi, qword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x14003a3d1
cmp eax, 0x12
je 0x14003a0cc
jmp 0x14003a3eb
mov rcx, rbx
call fcn.14005c110
mov r13, rbx
jmp 0x14003a0c5
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14003a0e9
lea rax, [0x1400f6d40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
jmp 0x14003a25d
mov rcx, qword [rsp + 0x80]
jmp 0x14003a27e
test eax, eax
jne 0x14003a4ab
movzx eax, byte [rdi + 0x297]
test al, al
mov rcx, qword [rdi + 0x280]
cmovns rcx, r14
mov qword [rsp + 0x50], rcx
cmovs rax, qword [rdi + 0x288]
mov qword [rsp + 0x58], rax
jmp 0x14003a25d
test eax, eax
jne 0x14003a46a
lea rsi, [rsp + 0x50]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rsi
call fcn.14005bfd0
mov rcx, rsi
call fcn.14005c110
lea rcx, [rsp + 0x80]
call fcn.14005c110
lea rcx, [rsp + 0xa0]
call fcn.140068310
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14007c600
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r14 + 0x17], 0
js 0x14003a414
mov byte [r14 + 0x17], 1
mov rcx, r14
mov dword [rcx], 0x2a
jmp 0x14003a2ce
cmp dword [rdi + 0x29c], 0
je 0x14003a0cc
mov ecx, eax
call fcn.140038f70
mov dword [rdi + 0x2a0], eax
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.14005bfb0
jmp 0x14003a395
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
jmp 0x14003a3e0
cmp byte [rdi + 0x278], 0
je 0x14003a17d
cmp byte [rsp + 0x67], 0
lea rcx, [rsp + 0x50]
jns 0x14003a446
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x14003a17d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call fcn.14003a5b0
jmp 0x14003a17d
lea rcx, [rsp + 0x50]
call fcn.14005c110
mov rcx, r13
call fcn.14005c110
mov rsi, qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r15, qword [rsp + 0x40]
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14003a0cc
mov qword [rsp + 0x78], 0
int3
int3
mov rdx, qword [r14]
jmp 0x14003a1b7
lea rcx, [rsp + 0x80]
call fcn.14005bfb0
jmp 0x14003a26d