Function at 0x140025540
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x260
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor ebx, ebx
mov byte [rcx], bl
test rdx, rdx
jne 0x1400255c7
test rdi, rdi
je 0x140025587
mov byte [r8], bl
mov byte [rsp + 0x30], bl
lea rcx, [rsp + 0x30]
call fcn.1400255dc
test al, al
jne 0x14003ed60
cmp byte [rsp + 0x30], bl
jne 0x1400255cb
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14002c9c0
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
mov byte [rdx], bl
jmp 0x14002557f
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
jmp 0x1400255a3
call qword [sym.imp.ext_ms_win_edputil_policy_l1_1_0.dll_EdpGetIsManaged]
nop
test eax, eax
setne al
mov byte [r14], al
test rsi, rsi
jne 0x14003ed7d
test rdi, rdi
je 0x14002559d
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x190]
call fcn.14001e5d0
nop
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0x41
mov word [rsp + 0xd8], bx
lea rax, [0x14008a770]
mov qword [rsp + 0xc0], rax
lea r8, [rsp + 0xc0]
lea rdx, str.DataDirectory
lea rcx, [rsp + 0x190]
call fcn.14000cfe0
test eax, eax
jne 0x14003ee40
mov rcx, qword [rsp + 0x278]
mov r9d, 0x8000ffff
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xb0
call fcn.14004a838
nop
lea rcx, [rsp + 0xc0]
call fcn.14001222c
nop
lea rcx, [rsp + 0x190]
call fcn.140011e24
nop
cmp byte [rsp + 0x30], bl
je 0x14003ee3b
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
nop
jmp 0x1400255a3
lea rcx, [rsp + 0xc0]
call fcn.14005536c
mov rax, qword [rsp + 0xc0]
or r14d, 0xffffffff
mov r9d, r14d
mov r8d, dword [rsp + 0xd4]
lea rdx, str.EdpStatusCheck
lea rcx, [rsp + 0xc0]
mov rax, qword [rax + 0x20]
call qword [case.0x140002c98.0]
nop
test rdi, rdi
je 0x14003ef5d
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x50], 0x6c
xor edx, edx
lea r8d, [rdx + 0x24]
lea rcx, [rsp + 0x160]
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x160]
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesExW]
mov rcx, qword [rsp + 0x54]
test eax, eax
cmovne rcx, qword [rsp + 0x164]
mov qword [rsp + 0x54], rcx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
call fcn.140059e5c
test eax, eax
js 0x14003ef5d
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.FeClient.dll_EdpQueryCredServiceInfo]
mov rcx, qword [rsp + 0x278]
test eax, eax
jns 0x14003ef38
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xcc
call fcn.14002af8c
jmp 0x14003ef53
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + 0x10], ebx
jne 0x14003ef49
cmp dword [rcx + 0xc], ebx
mov al, bl
je 0x14003ef4b
mov al, 1
mov byte [rdi], al
call qword [sym.imp.FeClient.dll_EdpFree]
mov rcx, qword [rsp + 0x38]
call fcn.14002896c
test rsi, rsi
je 0x14003efb8
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, r14d
je 0x14003efb8
test al, 0x10
je 0x14003efb8
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.efswrt.dll_EnterpriseDataGetStatus]
mov rcx, qword [rsp + 0x278]
test eax, eax
jns 0x14003efae
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xe3
call fcn.14002af8c
jmp 0x14003efb8
cmp dword [rsp + 0x38], 3
sete al
mov byte [rsi], al
lea rcx, [rsp + 0xc0]
call fcn.14001222c
nop
lea rcx, [rsp + 0x190]
call fcn.140011e24
nop
jmp 0x14002559d