Function at 0x140009e50
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 [0x1400c7228]
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 0x140009ed7
test rdi, rdi
je 0x140009e97
mov byte [r8], bl
mov byte [rsp + 0x30], bl
lea rcx, [rsp + 0x30]
call fcn.140009eec
test al, al
jne 0x1400359b4
cmp byte [rsp + 0x30], bl
jne 0x140009edb
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14002c150
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
mov byte [rdx], bl
jmp 0x140009e8f
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
jmp 0x140009eb3
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 0x1400359d1
test rdi, rdi
je 0x140009ead
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x190]
call fcn.14000d2ac
nop
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0x41
mov word [rsp + 0xd8], bx
lea rax, [0x14008bae8]
mov qword [rsp + 0xc0], rax
lea r8, [rsp + 0xc0]
lea rdx, str.DataDirectory
lea rcx, [rsp + 0x190]
call fcn.1400156d0
test eax, eax
jne 0x140035a94
mov rcx, qword [rsp + 0x278]
mov r9d, 0x8000ffff
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xb0
call fcn.14004b168
nop
lea rcx, [rsp + 0xc0]
call fcn.14001acc4
nop
lea rcx, [rsp + 0x190]
call fcn.14001a87c
nop
cmp byte [rsp + 0x30], bl
je 0x140035a8f
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
nop
jmp 0x140009eb3
lea rcx, [rsp + 0xc0]
call fcn.14005666c
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.0x1400022d4.0]
nop
test rdi, rdi
je 0x140035bb1
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.14005b31c
test eax, eax
js 0x140035bb1
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 0x140035b8c
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xcc
call fcn.14002a6ec
jmp 0x140035ba7
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + 0x10], ebx
jne 0x140035b9d
cmp dword [rcx + 0xc], ebx
mov al, bl
je 0x140035b9f
mov al, 1
mov byte [rdi], al
call qword [sym.imp.FeClient.dll_EdpFree]
mov rcx, qword [rsp + 0x38]
call fcn.140008924
test rsi, rsi
je 0x140035c0c
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, r14d
je 0x140035c0c
test al, 0x10
je 0x140035c0c
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 0x140035c02
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xe3
call fcn.14002a6ec
jmp 0x140035c0c
cmp dword [rsp + 0x38], 3
sete al
mov byte [rsi], al
lea rcx, [rsp + 0xc0]
call fcn.14001acc4
nop
lea rcx, [rsp + 0x190]
call fcn.14001a87c
nop
jmp 0x140009ead