Function at 0x140048e60
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movaps xmm6, xmmword [0x1401c7000]
lea r14, [rsp + 0x80]
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 + 0x60]
mov rcx, rbx
mov r9d, 0x8b
call fcn.1400916b0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1400a94b0
mov qword [rsp + 0xd8], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x140049258
lea rax, [rdi + 0x260]
mov qword [rsp + 0x38], rax
lea r15, [rdi + 4]
lea r12, [rdi + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rbp, qword [sym.imp.KERNEL32.dll_FindClose]
lea rax, [rdi + 0x280]
mov qword [rsp + 0x48], rax
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x40], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
cmp byte [rdi], 0
je 0x140049000
mov rcx, qword [rdi + 0x258]
mov rdx, r15
call r13
test eax, eax
je 0x140048fb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140048fc7
mov qword [rsp + 0x70], r14
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x50], r12
mov rcx, r12
call fcn.1400d3138
mov qword [rsp + 0x58], rax
mov rcx, rbx
lea rdx, [rsp + 0x50]
call fcn.1400c5a60
mov rcx, rdi
mov rdx, rbx
call fcn.140049320
test al, al
je 0x140049126
mov rcx, rbx
call fcn.140049310
jmp 0x140048f41
mov rcx, qword [rdi + 0x258]
call rbp
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x140048f5b
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
jne 0x140048ff2
cmp byte [rdi + 0x297], 0
js 0x140049241
mov byte [rdi + 0x297], 1
mov rcx, qword [rsp + 0x48]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x140048f41
jmp 0x1400491dc
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x14004911c
mov rcx, qword [rdi + 0x2b0]
test rax, rax
je 0x140049212
dec rax
cmp rcx, rax
jb 0x1400491d9
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, qword [rsp + 0x38]
call fcn.140018620
mov rcx, qword [rsp + 0x40]
call fcn.14010f050
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm6
mov eax, dword [rdi + 0x298]
test eax, eax
jne 0x1400492c5
movsx rcx, byte [rdi + 0x297]
mov rax, qword [rsp + 0x48]
test rcx, rcx
jns 0x140049095
mov rcx, qword [rdi + 0x288]
mov rax, qword [rdi + 0x280]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rcx
test rcx, rcx
js 0x1400491d7
sete cl
test rax, rax
setne al
or al, cl
je 0x1400491d7
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
lea r8, [rsp + 0xc8]
call fcn.14002b470
cmp byte [rsp + 0x77], 0
mov rcx, rbx
jns 0x1400490e3
mov rcx, qword [rsp + 0x60]
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, rbx
call fcn.140049310
jmp 0x140048f5b
mov rcx, rsi
call fcn.140049440
jmp 0x140049185
mov rbp, r13
mov r13d, dword [r15]
mov qword [rsi + 0x10], r14
movups xmmword [rsi], xmm6
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
mov r8, rbx
call fcn.14010efe0
test r13b, 0x10
jne 0x14004928a
and r13d, 0x10
shr r13d, 4
mov rcx, rdi
mov edx, r13d
call fcn.14010ef70
test al, al
je 0x1400491fb
mov rcx, rdi
mov rdx, rbx
call fcn.14010ef80
test al, al
je 0x1400491fb
lea rcx, [rsp + 0x60]
call fcn.140049310
mov qword [rsp + 0xc8], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x14004921a
lea rcx, [rsp + 0x80]
call fcn.140094d00
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400d4e20
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
int3
cmp dword [rdi + 0x29c], 0
je 0x140048f41
mov ecx, eax
call fcn.14003b9a0
mov dword [rdi + 0x2a0], eax
jmp 0x14004911c
mov rcx, rsi
call fcn.140049310
mov r13, rbp
mov rbp, qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140048fa7
mov rax, rcx
jmp 0x140049024
movzx ecx, al
lea r8, [rsp + 0x60]
mov qword [r8], 0
lea rdx, [rsp + 0xc8]
mov r9d, 2
call fcn.140087840
jmp 0x14004919b
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
jmp 0x140048fec
movzx ecx, al
lea r9, [rsp + 0xc8]
mov qword [r9], rbx
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xe0]
mov qword [r8], rax
lea rdx, [rsp + 0xd8]
call fcn.140130c10
jmp 0x140048efd
cmp byte [rdi + 0x278], 1
jne 0x14004914d
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400492a3
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x14004914d
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.14010f370
jmp 0x14004914d
cmp eax, 1
je 0x1400492de
call fcn.14010ea20
lea rcx, [rsp + 0x60]
call fcn.140049440
jmp 0x1400490d4
lea rax, [0x1401d6a14]
lea r8, [rsp + 0xc8]
mov qword [r8], rax
mov qword [r8 + 8], 1
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
jmp 0x1400490cf