Function at 0x14000bb70
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov r13, r9
mov r12, r8
mov rbp, rdx
mov r14, rcx
call fcn.1400da76c
mov rcx, rax
xor r15d, r15d
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000bbc8
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x20], rdi
mov rdx, qword [r12]
lea rcx, [rdx - 0x18]
lea rsi, [rdi - 0x18]
or rbx, 0xffffffffffffffff
cmp rcx, rsi
je 0x14000bc39
cmp dword [rsi + 0x10], 0
jl 0x14000bc26
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x14000bc26
call fcn.140001e00
mov rdi, rax
mov ecx, ebx
lock xadd dword [rsi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14000bc1b
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rdi, 0x18
mov qword [rsp + 0x20], rdi
jmp 0x14000bc39
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.140002570
mov rdi, qword [rsp + 0x20]
cmp word [rbp], 0x2e
jne 0x14000bc81
cmp word [rbp + 2], 0x2e
jne 0x14000bc81
cmp word [rbp + 4], 0
jne 0x14000bc81
mov edx, 0x5c
mov rcx, rdi
call fcn.14010bd78
test rax, rax
je 0x14000bd12
mov rcx, rax
sub rcx, rdi
and rcx, 0xfffffffffffffffe
cmp rcx, 4
jle 0x14000bd12
mov word [rax], r15w
jmp 0x14000bd12
mov r8d, 1
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140002140
mov rcx, qword [rax]
mov eax, dword [rcx - 0x10]
cmp eax, 1
jne 0x14000bcbb
test eax, eax
jns 0x14000bcb0
mov ecx, 0x80070057
call fcn.140001000
int3
cmp word [rcx], 0x5c
jne 0x14000bcbb
xor dil, dil
jmp 0x14000bcbe
mov dil, 1
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bcdd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x14000bcf3
lea rdx, [0x14013e968]
lea rcx, [rsp + 0x20]
call fcn.140004a90
xor eax, eax
mov rcx, rbx
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140002660
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x14000bd6d
mov rdx, r13
mov rcx, qword [rsp + 0x20]
call fcn.14000a790
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bd4f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000bdd7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000bdd7
mov rcx, qword [r14 + 0xd8]
xor r9d, r9d
lea r8, [rsp + 0x20]
mov edx, 0x496
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rbp
mov rcx, qword [r14 + 0xe0]
call fcn.14000e400
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000bdbb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000bdd7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret