Function at 0x140002e04
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
cmp dword [0x140013048], 5
lea r13, str.SmAttachSpace
mov r15, rcx
jbe 0x140002e59
lea rax, [rbp + 0x67]
mov dword [rbp + 0x67], 0x21f
mov qword [rsp + 0x28], rax
lea rdx, [0x140010542]
lea rax, [rbp + 0x6f]
mov qword [rbp + 0x6f], r13
mov qword [rsp + 0x20], rax
call fcn.140001008
lea rcx, [rbp - 0x29]
call fcn.1400039d4
mov eax, dword [r15 + 0x88]
lea rsi, [r15 + 0x34]
xor r12d, r12d
mov qword [rbp - 0x11], 0x28
add rsi, rax
mov qword [rbp - 9], r12
mov rcx, rsi
mov qword [rbp - 1], r12
lea r8, [rbp + 0x6f]
mov qword [rbp + 7], r12
xor edx, edx
mov dword [rbp + 0xf], r12d
mov word [rbp + 0x13], r12w
mov edi, r12d
mov qword [rbp + 0x7f], r12
mov ebx, r12d
mov qword [rbp + 0x6f], r12
mov qword [rbp + 0x67], r12
mov qword [rbp + 0x77], r12
call fcn.14000b010
mov r14, qword [rbp + 0x6f]
test eax, eax
je 0x140002fb8
movups xmm0, xmmword [rsi]
lea rdx, [rbp + 0x67]
movups xmm1, xmmword [rsi + 0x10]
lea rcx, [rbp - 0x11]
movups xmmword [rbp - 0xd], xmm0
movups xmmword [rbp + 3], xmm1
call fcn.14000bff8
mov rdi, qword [rbp + 0x67]
mov ebx, eax
test eax, eax
je 0x140002fb8
test byte [rdi + 0xaa0], 2
jne 0x140002efd
test byte [r14 + 0xa60], 2
je 0x140002f32
lea rcx, [rbp - 0x29]
call fcn.140003c78
mov ebx, eax
test eax, eax
je 0x140002fb8
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.1400041b8
mov ebx, eax
test eax, eax
je 0x140002fb8
movups xmm0, xmmword [0x14000fb28]
movdqu xmmword [rsi + 0x20], xmm0
cmp dword [rdi + 0xa80], 1
jne 0x140002f49
mov rcx, rsi
call fcn.14000bb98
mov ebx, eax
test eax, eax
je 0x140002fb8
lea rcx, [rsi + 0x10]
lea rdx, [rbp + 0x77]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
je 0x140002f74
mov ecx, eax
mov ebx, r12d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
jmp 0x140002fb8
mov rax, qword [rbp + 0x77]
lea r9, [rbp + 0x7f]
mov edx, dword [r15 + 0x84]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rcx, rsi
lea rax, str.DosDevicesGlobalSpace_ws
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call fcn.140002954
mov eax, dword [r15 + 0x84]
sub eax, dword [rbp + 0x7f]
add eax, 2
mov dword [r15 + 0x90], eax
cmp qword [rbp + 0x77], r12
je 0x140002fd2
lea rcx, [rbp + 0x77]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
mov qword [rbp + 0x77], r12
test rdi, rdi
je 0x140002fe6
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
test r14, r14
je 0x140002ffa
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
test ebx, ebx
jne 0x14000304a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp dword [0x140013048], 2
jbe 0x14000307c
mov dword [rbp + 0x67], eax
lea rdx, [0x14001050e]
lea rax, [rbp + 0x67]
mov dword [rbp + 0x6f], 0x283
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x7f], r13
call fcn.1400010b0
jmp 0x14000307c
cmp dword [0x140013048], 5
jbe 0x14000307c
lea rax, [rbp + 0x67]
mov dword [rbp + 0x67], 0x283
mov qword [rsp + 0x28], rax
lea rdx, [0x1400104e1]
lea rax, [rbp + 0x6f]
mov qword [rbp + 0x6f], r13
mov qword [rsp + 0x20], rax
call fcn.140001008
lea rcx, [rbp - 0x29]
call fcn.140003a74
mov eax, ebx
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret