Function at 0x140090cf4
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov qword [rsp + 0x40], rdx
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x140090d42
lea r8, str.wszFilePath
mov edx, 0x17a
lea rcx, str.base_stor_blbutil_networkutils.cpp
call fcn.1400906e0
mov qword [rdi], r14
mov rbp, r14
mov r13, r14
mov rcx, qword [0x140173048]
lea r12, [0x140173048]
cmp rcx, r12
je 0x140090d82
test byte [rcx + 0x1c], 1
je 0x140090d82
cmp byte [rcx + 0x19], 4
jb 0x140090d82
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401562a0]
mov edx, 0x11
mov r9, rbx
call fcn.140015150
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rbx + rax*2], r14w
jne 0x140090d89
cmp rax, 2
jae 0x140090da3
mov ebx, 0x80070057
jmp 0x1400911c7
lea rdx, [0x140156294]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsstr]
nop dword [rax + rax]
cmp rax, rbx
jne 0x140090d99
lea rcx, [rbx + 4]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140090dc5
cmp rax, 2
jb 0x140090d99
lea rdx, [0x14014ff70]
call qword [sym.imp.msvcrt.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x140090d99
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2 + 2], r14w
jne 0x140090df0
cmp rcx, 2
jb 0x140090d99
lea rdx, [0x14014ff70]
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll_wcsstr]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140090d99
sub rdi, rbx
sar rdi, 1
inc rdi
lea r15, [rdi + rdi]
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x140090e52
mov ebx, 0x8007000e
jmp 0x1400911c7
mov r8, r15
xor edx, edx
mov rcx, r14
call sub.msvcrt.dll_memset
lea r9, [rdi - 1]
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.1400911f8
xor r15d, r15d
mov ebx, eax
test eax, eax
js 0x1400911a4
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x140090ead
test byte [rcx + 0x1c], 1
je 0x140090ead
cmp byte [rcx + 0x19], 4
jb 0x140090ead
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x12]
mov r9, r14
lea r8, [0x1401562a0]
call fcn.140015150
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov ebx, 0x80000000
mov dword [rsp + 0x28], 0x2000000
mov edx, ebx
mov dword [rsp + 0x20], 3
mov rcx, r14
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r12, rax
cmp rax, rsi
jne 0x140090f4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140090f02
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400911a4
test byte [rcx + 0x1c], 1
je 0x1400911a4
cmp byte [rcx + 0x19], 2
jb 0x1400911a4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401562a0]
mov edx, 0x13
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.1400151b8
jmp 0x1400911a4
xorps xmm0, xmm0
mov qword [rsp + 0x58], r15
mov r9d, 8
mov dword [rsp + 0x20], 0x31
lea r8, [rsp + 0x58]
mov rcx, r12
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov ecx, eax
add eax, ebx
test ebx, eax
jne 0x140090ff5
cmp ecx, 0x80000005
je 0x140090ff5
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140090fad
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140091181
test byte [rcx + 0x1c], 1
je 0x140091181
cmp byte [rcx + 0x19], 2
jb 0x140091181
mov edx, 0x14
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401562a0]
mov r9d, ebx
call fcn.14000c354
jmp 0x140091181
mov ebx, dword [rsp + 0x58]
add ebx, 8
mov ecx, ebx
mov edi, ebx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r13, rax
test rax, rax
jne 0x14009101e
mov ebx, 0x8007000e
jmp 0x140091181
mov r8, rdi
xor edx, edx
mov rcx, r13
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x31
mov r9d, ebx
lea rdx, [rsp + 0x48]
mov r8, r13
mov rcx, r12
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
test eax, eax
jns 0x1400910ab
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140091076
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140091181
test byte [rcx + 0x1c], 1
je 0x140091181
cmp byte [rcx + 0x19], 2
jb 0x140091181
mov edx, 0x15
jmp 0x140090fdd
lea r15, [r13 + 4]
xor eax, eax
lea rdi, [r15 + 2]
inc rsi
cmp word [rdi + rsi*2], ax
jne 0x1400910b5
cmp rsi, 2
jae 0x1400910ce
mov ebx, 0x80070057
jmp 0x140091181
lea rdx, [0x14014ff70]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400910c4
sub rbx, r15
sub rbx, 2
sar rbx, 1
inc rbx
lea rsi, [rbx + rbx]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
xor r15d, r15d
mov rbp, rax
test rax, rax
je 0x140091014
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
lea r9, [rbx - 1]
mov r8, rdi
mov rdx, rbx
mov rcx, rbp
call fcn.1400911f8
mov ebx, eax
test eax, eax
js 0x140091181
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140091176
test byte [rcx + 0x1c], 1
je 0x140091176
cmp byte [rcx + 0x19], 4
jb 0x140091176
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x16]
mov r9, rbp
lea r8, [0x1401562a0]
call fcn.140015150
mov rax, qword [rsp + 0x40]
mov qword [rax], rbp
mov rbp, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test rbp, rbp
je 0x1400911a4
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r13, r13
je 0x1400911c7
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret