Function at 0x1400210e4
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x210
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor ebx, ebx
mov byte [rcx], bl
test rdx, rdx
jne 0x14002116b
test rdi, rdi
je 0x14002112b
mov byte [r8], bl
mov byte [rsp + 0x30], bl
lea rcx, [rsp + 0x30]
call fcn.140021178
test al, al
jne 0x14003e5d8
cmp byte [rsp + 0x30], bl
jne 0x14002116f
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14002cdb0
mov rbx, qword [rsp + 0x248]
add rsp, 0x210
pop r14
pop rdi
pop rsi
ret
mov byte [rdx], bl
jmp 0x140021123
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
jmp 0x140021147
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 0x14003e5f5
test rdi, rdi
je 0x140021141
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x140]
call fcn.14001f440
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0x41
mov word [rsp + 0x88], bx
lea rax, fcn.140019f80
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rdx, str.DataDirectory
lea rcx, [rsp + 0x140]
call fcn.140013fe0
test eax, eax
jne 0x14003e6ac
mov rcx, qword [rsp + 0x228]
mov r9d, 0x8000ffff
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xb0
call fcn.140020c10
nop
lea rcx, [rsp + 0x70]
call fcn.1400282a4
nop
lea rcx, [rsp + 0x140]
call fcn.140013e30
nop
cmp byte [rsp + 0x30], bl
je 0x14003e6a7
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
nop
jmp 0x140021147
lea rcx, [rsp + 0x70]
call fcn.14005a6e4
mov rax, qword [rsp + 0x70]
or r14d, 0xffffffff
mov r9d, r14d
mov r8d, dword [rsp + 0x84]
lea rdx, str.EdpStatusCheck
lea rcx, [rsp + 0x70]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
nop
test rdi, rdi
je 0x14003e7c2
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x48], 0x1c
xor edx, edx
lea r8d, [rax + 0x24]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x110]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesExW]
mov rcx, qword [rsp + 0x4c]
test eax, eax
cmovne rcx, qword [rsp + 0x114]
mov qword [rsp + 0x4c], rcx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
call fcn.14005f0d4
test eax, eax
js 0x14003e7c2
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.FeClient.dll_EdpQueryCredServiceInfo]
mov rcx, qword [rsp + 0x228]
test eax, eax
jns 0x14003e79d
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xcc
call fcn.14002c058
jmp 0x14003e7b8
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + 0x10], ebx
jne 0x14003e7ae
cmp dword [rcx + 0xc], ebx
mov al, bl
je 0x14003e7b0
mov al, 1
mov byte [rdi], al
call qword [sym.imp.FeClient.dll_EdpFree]
mov rcx, qword [rsp + 0x38]
call fcn.14001a6cc
test rsi, rsi
je 0x14003e817
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, r14d
je 0x14003e817
test al, 0x10
je 0x14003e817
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.efswrt.dll_EnterpriseDataGetStatus]
mov rcx, qword [rsp + 0x228]
test eax, eax
jns 0x14003e80d
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_searchcommonedphelperedphelper.cpp
mov edx, 0xe3
call fcn.14002c058
jmp 0x14003e817
cmp dword [rsp + 0x38], 3
sete al
mov byte [rsi], al
lea rcx, [rsp + 0x70]
call fcn.1400282a4
nop
lea rcx, [rsp + 0x140]
call fcn.140013e30
nop
jmp 0x140021141