Function at 0x14002c740
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
movaps xmmword [rsp + 0x130], xmm6
mov qword [rsp + 0x38], rdx
mov rdi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x128], rax
movaps xmm6, xmmword [0x140272a70]
lea r14, [rsp + 0xc0]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.Next
lea r8, str....._base_files_file_enumerator_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x88
call fcn.140131450
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.140106c40
mov qword [rsp + 0x108], Ordinal_14
mov al, byte [0x1402c525b]
test al, al
jne 0x14002ce75
lea rax, [rdi + 0x260]
mov qword [rsp + 0x40], rax
lea rbp, [rdi + 4]
lea r15, [rdi + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rax, [rdi + 0x280]
mov qword [rsp + 0x70], rax
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x90]
lea rax, [rsp + 0x118]
mov qword [rsp + 0x88], rax
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x68], rax
lea rax, [rdi + 0x2b8]
mov qword [rsp + 0x58], rax
lea rax, [rdi + 0x2c0]
mov qword [rsp + 0x50], rax
cmp byte [rdi], 0
je 0x14002cabb
mov rcx, qword [rdi + 0x258]
mov rdx, rbp
call r13
test eax, eax
je 0x14002c9e7
call r14
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x14002ca3c
mov qword [rsp + 0xb0], rsi
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0x90], r15
mov rcx, r15
call fcn.14019aed8
mov qword [rsp + 0x98], rax
mov rcx, rbx
mov rdx, r12
call fcn.140150d20
mov rcx, rdi
mov rdx, rbx
call fcn.14002ced0
test al, al
jne 0x14002ca1c
mov qword [rsp + 0x60], r15
mov r15, r14
mov r14, r13
mov r12, rbp
mov bpl, byte [rbp]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + 0x10], rsi
movups xmmword [rdx], xmm6
movsx rax, byte [rsp + 0xb7]
test rax, rax
cmovs rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
cmovns rcx, rbx
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x88]
call fcn.140151060
mov r13d, 1
test bpl, 0x10
jne 0x14002cb48
test dword [rdi + 0x27c], r13d
mov r13, r14
mov r14, r15
mov rbp, r12
mov r15, qword [rsp + 0x60]
lea r12, [rsp + 0x90]
je 0x14002ca04
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x14002c9de
cmp byte [rdi + 0x297], 0
mov rdx, qword [rsp + 0x70]
js 0x14002ce59
cmp byte [rsp + 0xb7], 0
mov rcx, rbx
jns 0x14002c991
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
jne 0x14002ca04
cmp byte [rsp + 0xb7], 0
jns 0x14002c9b3
mov rcx, qword [rsp + 0xa0]
call fcn.14019aab4
lea rcx, [rsp + 0xc0]
call fcn.14014a900
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14002ca82
call fcn.14019d280
int3
test eax, eax
je 0x14002c99c
jmp 0x14002ce66
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x14002c874
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x17], 0
jns 0x14002ca1c
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14019aab4
cmp byte [rsp + 0xb7], 0
jns 0x14002c856
mov rcx, qword [rsp + 0xa0]
call fcn.14019aab4
jmp 0x14002c856
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
jne 0x14002ca67
cmp byte [rdi + 0x297], 0
js 0x14002cb92
mov byte [rdi + 0x297], 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx], Ordinal_46
cmp eax, 0x12
je 0x14002c856
cmp dword [rdi + 0x29c], 0
je 0x14002c856
jmp 0x14002ce47
mov rax, qword [rsp + 0x38]
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
mov rax, qword [rsp + 0x38]
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
jmp 0x14002c9b3
mov rax, qword [rdi + 0x2b8]
mov rcx, qword [rdi + 0x2c0]
cmp rax, rcx
je 0x14002caa3
mov r8, qword [rdi + 0x2b0]
mov edx, 0
cmova rdx, r8
sub rdx, rax
add rdx, rcx
test rdx, rdx
jle 0x14002ce3b
add rax, rdx
dec rax
xor edx, edx
div r8
cmp rdx, rcx
je 0x14002ce3e
mov rax, qword [rdi + 0x2a8]
lea rcx, [rdx + rdx*2]
lea rdx, [rax + rcx*8]
cmp qword [rsp + 0x40], rdx
je 0x14002cbbc
cmp byte [rdi + 0x277], 0
movzx r8d, byte [rdx + 0x17]
js 0x14002cd28
test r8b, r8b
jns 0x14002cba9
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call fcn.14000bbb0
jmp 0x14002cbbc
mov r13d, 2
cmp byte [rdi + 0x278], 1
jne 0x14002c93c
mov rcx, qword [rsp + 0x38]
cmp byte [rcx + 0x17], 0
jns 0x14002cb6e
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x14002c93c
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
call fcn.14002c310
jmp 0x14002c93c
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
jmp 0x14002ca61
mov rax, qword [rdx + 0x10]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov rax, qword [rsp + 0x50]
mov r8, qword [rax]
mov rax, qword [rsp + 0x58]
cmp qword [rax], r8
je 0x14002ce41
test r8, r8
je 0x14002ce69
lea rdx, [r8 - 1]
mov qword [rdi + 0x2c0], rdx
mov rcx, qword [rsp + 0x68]
call fcn.14002d000
mov rax, qword [rdi + 0x2b0]
cmp rax, 5
jae 0x14002ccf2
mov qword [rsp + 0xb0], rsi
movaps xmmword [rsp + 0xa0], xmm6
mov eax, dword [rdi + 0x298]
test eax, eax
jne 0x14002ccc9
movsx rax, byte [rdi + 0x297]
test rax, rax
jns 0x14002cc3c
mov rax, qword [rdi + 0x288]
mov rcx, qword [rdi + 0x280]
jmp 0x14002cc43
lea rcx, [rdi + 0x280]
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
mov r8, qword [rsp + 0x88]
call fcn.140151060
cmp byte [rsp + 0xb7], 0
mov rcx, rbx
jns 0x14002cc7d
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, rbp
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
cmp byte [rsp + 0xb7], 0
jns 0x14002c874
mov rcx, qword [rsp + 0xa0]
call fcn.14019aab4
jmp 0x14002c874
cmp eax, 1
jne 0x14002ce44
lea rax, [0x140283d88]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], 1
jmp 0x14002cc53
mov rcx, qword [rsp + 0x58]
mov r9, qword [rcx]
mov rcx, qword [rsp + 0x50]
mov r8, qword [rcx]
cmp r9, r8
mov ecx, 0
cmova rcx, rax
sub rcx, r9
add rcx, r8
dec rax
mov rdx, rax
sub rdx, rcx
cmp rdx, rcx
jb 0x14002cc01
jmp 0x14002cd43
test r8b, r8b
jns 0x14002cd34
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x40]
call fcn.14000bcb0
jmp 0x14002cbbc
mov rdx, rcx
shr rdx, 2
add rdx, rcx
cmp rdx, 4
mov r10d, 3
cmovae r10, rdx
cmp r10, rax
jae 0x14002cc01
inc r10
mov ecx, Ordinal_26
mov rax, r10
mul rcx
mov qword [rsp + 0x60], r10
jo 0x14002cea7
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x48], rax
mov rcx, rax
xor edx, edx
call section..text
test rax, rax
jne 0x14002cdc2
cmp byte [0x1402c5650], 1
jne 0x14002cdc0
call fcn.14019aadc
test rax, rax
je 0x14002cdc0
mov rcx, qword [rsp + 0x48]
call qword [0x1402a4958]
test eax, eax
jne 0x14002ce31
xor eax, eax
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0xa0]
mov qword [r9], rax
mov rcx, qword [rsp + 0x60]
mov qword [r9 + 8], rcx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
call fcn.14002c520
mov rcx, qword [rdi + 0x2a8]
xor edx, edx
call fcn.140001b10
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x2b0], rax
jmp 0x14002cc01
mov rcx, qword [rsp + 0x48]
jmp 0x14002cd92
int3
int3
int3
int3
mov ecx, eax
call fcn.14000dfb0
mov dword [rdi + 0x2a0], eax
jmp 0x14002caa3
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
jmp 0x14002c97c
int3
mov r8, qword [rdi + 0x2b0]
jmp 0x14002cbdb
movzx ecx, al
lea r9, [rsp + 0x118]
mov qword [r9], rbx
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x110]
mov qword [r8], rax
lea rdx, [rsp + 0x108]
call fcn.1402003b0
jmp 0x14002c7e2
int3