Function at 0x140084780
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 [0x140172608]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov qword [rsp + 0x50], rdx
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400847ce
lea r8, str.wszFilePath
mov edx, 0x17a
lea rcx, str.base_stor_blbutil_networkutils.cpp
call fcn.14008410c
mov qword [rdi], r14
mov rbp, r14
mov r13, r14
mov rcx, qword [0x1401720a0]
lea r12, [0x1401720a0]
cmp rcx, r12
je 0x14008480e
test byte [rcx + 0x1c], 1
je 0x14008480e
cmp byte [rcx + 0x19], 4
jb 0x14008480e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f320]
mov edx, 0x11
mov r9, rbx
call fcn.140005afc
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rbx + rax*2], r14w
jne 0x140084815
cmp rax, 2
jae 0x14008482f
mov ebx, 0x80070057
jmp 0x140084bec
lea rdx, [0x14014f314]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rbx
jne 0x140084825
lea rcx, [rbx + 4]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14008484b
cmp rax, 2
jb 0x140084825
lea rdx, [0x140149494]
call qword [sym.imp.msvcrt.dll_wcsstr]
test rax, rax
je 0x140084825
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2 + 2], r14w
jne 0x140084870
cmp rcx, 2
jb 0x140084825
lea rdx, [0x140149494]
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll_wcsstr]
mov rdi, rax
test rax, rax
je 0x140084825
sub rdi, rbx
sar rdi, 1
inc rdi
lea r15, [rdi + rdi]
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov r14, rax
test rax, rax
jne 0x1400848c2
mov ebx, 0x8007000e
jmp 0x140084bec
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.1400841e0
xor r15d, r15d
mov ebx, eax
test eax, eax
js 0x140084bd5
mov rcx, qword [0x1401720a0]
cmp rcx, r12
je 0x14008491d
test byte [rcx + 0x1c], 1
je 0x14008491d
cmp byte [rcx + 0x19], 4
jb 0x14008491d
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x12]
mov r9, r14
lea r8, [0x14014f320]
call fcn.140005afc
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]
mov r12, rax
cmp rax, rsi
jne 0x1400849b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x140084bd5
test byte [rcx + 0x1c], 1
je 0x140084bd5
cmp byte [rcx + 0x19], 2
jb 0x140084bd5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f320]
mov edx, 0x13
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.140005b60
jmp 0x140084bd5
xor eax, eax
mov dword [rsp + 0x20], 0x31
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rcx, r12
mov qword [rsp + 0x48], rax
lea r9d, [rax + 8]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
add eax, ebx
test ebx, eax
jne 0x140084a4d
cmp ecx, 0x80000005
je 0x140084a4d
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x140084bbe
test byte [rcx + 0x1c], 1
je 0x140084bbe
cmp byte [rcx + 0x19], 2
jb 0x140084bbe
mov edx, 0x14
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f320]
mov r9d, ebx
call fcn.140004b98
jmp 0x140084bbe
mov ebx, dword [rsp + 0x58]
add ebx, 8
mov ecx, ebx
mov edi, ebx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov r13, rax
test rax, rax
jne 0x140084a70
mov ebx, 0x8007000e
jmp 0x140084bbe
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [rsp + 0x20], 0x31
mov r9d, ebx
mov qword [rsp + 0x40], rax
mov r8, r13
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x140084af4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x140084bbe
test byte [rcx + 0x1c], 1
je 0x140084bbe
cmp byte [rcx + 0x19], 2
jb 0x140084bbe
mov edx, 0x15
jmp 0x140084a35
lea r15, [r13 + 4]
xor eax, eax
lea rdi, [r15 + 2]
inc rsi
cmp word [rdi + rsi*2], ax
jne 0x140084afe
cmp rsi, 2
jae 0x140084b17
mov ebx, 0x80070057
jmp 0x140084bbe
lea rdx, [0x140149494]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
mov rbx, rax
test rax, rax
je 0x140084b0d
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]
xor r15d, r15d
mov rbp, rax
test rax, rax
je 0x140084a66
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.1400841e0
mov ebx, eax
test eax, eax
js 0x140084bbe
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x140084bb3
test byte [rcx + 0x1c], 1
je 0x140084bb3
cmp byte [rcx + 0x19], 4
jb 0x140084bb3
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x16]
mov r9, rbp
lea r8, [0x14014f320]
call fcn.140005afc
mov rax, qword [rsp + 0x50]
mov qword [rax], rbp
mov rbp, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbp, rbp
je 0x140084bd5
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r13, r13
je 0x140084bec
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140141cf0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret