Function at 0x1400254e0
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 0x140025567
test rdi, rdi
je 0x140025527
mov byte [r8], bl
mov byte [rsp + 0x30], bl
lea rcx, [rsp + 0x30]
call fcn.14002557c
test al, al
jne 0x14003ec66
cmp byte [rsp + 0x30], bl
jne 0x14002556b
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
mov byte [rdx], bl
jmp 0x14002551f
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
jmp 0x140025543
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 0x14003ec83
test rdi, rdi
je 0x14002553d
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x190]
call fcn.14001e570
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.14000cfd0
test eax, eax
jne 0x14003ed46
mov rcx, qword [rsp + 0x278]
mov r9d, 0x8000ffff
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xb0
call fcn.14004a748
nop
lea rcx, [rsp + 0xc0]
call fcn.14001221c
nop
lea rcx, [rsp + 0x190]
call fcn.140011e14
nop
cmp byte [rsp + 0x30], bl
je 0x14003ed41
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
nop
jmp 0x140025543
lea rcx, [rsp + 0xc0]
call fcn.14005527c
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 0x14003ee63
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.140059d6c
test eax, eax
js 0x14003ee63
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 0x14003ee3e
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xcc
call fcn.14002af2c
jmp 0x14003ee59
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + 0x10], ebx
jne 0x14003ee4f
cmp dword [rcx + 0xc], ebx
mov al, bl
je 0x14003ee51
mov al, 1
mov byte [rdi], al
call qword [sym.imp.FeClient.dll_EdpFree]
mov rcx, qword [rsp + 0x38]
call fcn.14002890c
test rsi, rsi
je 0x14003eebe
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, r14d
je 0x14003eebe
test al, 0x10
je 0x14003eebe
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 0x14003eeb4
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xe3
call fcn.14002af2c
jmp 0x14003eebe
cmp dword [rsp + 0x38], 3
sete al
mov byte [rsi], al
lea rcx, [rsp + 0xc0]
call fcn.14001221c
nop
lea rcx, [rsp + 0x190]
call fcn.140011e14
nop
jmp 0x14002553d