Function at 0x14000b1f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140025328]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
mov dword [rsp + 0x38], 0x104
xor r14d, r14d
lea rdx, [rsp + 0x3c]
mov ebx, r14d
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqLocalClientPID]
test eax, eax
je 0x14000b315
movzx ebx, ax
mov edi, 0x80070000
or ebx, edi
test eax, eax
cmovle ebx, eax
call fcn.14000af24
mov r10, rax
cmp dword [rax], 2
jbe 0x14000b53e
movabs rcx, 0x400000000000
test qword [rax + 0x10], rcx
je 0x14000b53e
mov rax, qword [rax + 0x18]
and rax, rcx
cmp rax, qword [r10 + 0x18]
jne 0x14000b53e
lea rax, str.GetCallerProcessName
mov qword [rsp + 0x68], 0x15
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rax, str.GetCallerProcessName_failed:__I_RpcBindingInqLocalClientPID_
mov qword [rbp - 0x80], rax
movzx eax, bx
or eax, edi
mov dword [rsp + 0x30], 0x27
test ebx, ebx
mov qword [rsp + 0x78], 4
mov qword [rbp - 0x78], 0x3d
cmovle eax, ebx
mov qword [rbp - 0x68], 4
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x34]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14001fefd]
xor r8d, r8d
mov dword [rsp + 0x20], 6
mov rcx, r10
call fcn.140001078
jmp 0x14000b53e
mov r8d, dword [rsp + 0x3c]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x14000b40c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
mov edi, 0x80070000
or ebx, edi
test eax, eax
cmovle ebx, eax
call fcn.14000af24
mov r10, rax
cmp dword [rax], 2
jbe 0x14000b53e
movabs rcx, 0x400000000000
test qword [rax + 0x10], rcx
je 0x14000b53e
mov rax, qword [rax + 0x18]
and rax, rcx
cmp rax, qword [r10 + 0x18]
jne 0x14000b53e
lea rax, str.GetCallerProcessName
mov qword [rsp + 0x68], 0x15
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x70], rax
lea rax, str.GetCallerProcessName_failed:__OpenProcess_
mov qword [rbp - 0x80], rax
movzx eax, bx
or eax, edi
mov dword [rsp + 0x34], 0x2a
test ebx, ebx
mov qword [rsp + 0x78], 4
mov qword [rbp - 0x78], 0x2b
cmovle eax, ebx
mov qword [rbp - 0x68], 4
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14001fefd]
xor r8d, r8d
mov dword [rsp + 0x20], 6
mov rcx, r10
call fcn.140001078
jmp 0x14000b53e
lea r9, [rsp + 0x38]
xor edx, edx
lea r8, [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x14000b4fe
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
mov edi, 0x80070000
or ebx, edi
test eax, eax
cmovle ebx, eax
call fcn.14000af24
mov r10, rax
cmp dword [rax], 2
jbe 0x14000b535
movabs rcx, 0x400000000000
test qword [rax + 0x10], rcx
je 0x14000b535
mov rax, qword [rax + 0x18]
and rax, rcx
cmp rax, qword [r10 + 0x18]
jne 0x14000b535
lea rax, str.GetCallerProcessName
mov qword [rsp + 0x68], 0x15
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x70], rax
lea rax, str.GetCallerProcessName_failed:__QueryFullProcessImageName_
mov qword [rbp - 0x80], rax
movzx eax, bx
or eax, edi
mov dword [rsp + 0x34], 0x30
test ebx, ebx
mov qword [rsp + 0x78], 4
mov qword [rbp - 0x78], 0x39
cmovle eax, ebx
mov qword [rbp - 0x68], 4
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14001fefd]
xor r8d, r8d
mov dword [rsp + 0x20], 6
mov rcx, r10
call fcn.140001078
jmp 0x14000b535
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 0x102
ja 0x14000b530
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathStripPathW]
mov edx, dword [rsp + 0x38]
lea r8, [rbp - 0x60]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcsncpy_s]
test eax, eax
je 0x14000b535
mov ebx, 0x80070057
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140018a70
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret