Function at 0x140284b60
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor esi, esi
mov rbx, rcx
cmp byte [rcx + 0x38], sil
je 0x140284d9f
call fcn.1400550c0
or r15, 0xffffffffffffffff
lea rdi, [0x1403cb630]
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x140284c23
lea rax, str.Disable_privilege
mov qword [rbp + 0xf], 0x24
mov qword [rbp + 7], rax
lea rax, [rbx + 0x18]
cmp qword [rax + 0x18], 8
jb 0x140284bd2
mov rax, qword [rax]
mov rdx, rdi
mov rcx, rsi
test rax, rax
je 0x140284bec
mov rdx, rax
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], si
jne 0x140284be3
lea eax, [rcx*2 + 2]
mov qword [rbp + 0x17], rdx
mov dword [rbp + 0x1f], eax
mov dword [rbp + 0x23], esi
lea rax, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14048630f]
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov rcx, r10
call fcn.140001208
xor edx, edx
mov dword [rbx + 0x14], esi
mov rcx, qword [rbx]
lea r8, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
nop dword [rax + rax]
test eax, eax
jne 0x140284cf7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x29], eax
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x140284d9f
lea rax, [rbp - 0x29]
mov qword [rbp + 0xf], 4
mov qword [rbp + 7], rax
lea rax, str.Failed_to_adjust_token_privileges
mov qword [rbp + 0x17], rax
lea rax, [rbx + 0x18]
cmp qword [rax + 0x18], 8
mov qword [rbp + 0x1f], 0x44
jb 0x140284ca4
mov rax, qword [rax]
mov rcx, rsi
test rax, rax
je 0x140284cbb
mov rdi, rax
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], si
jne 0x140284cb2
lea eax, [rcx*2 + 2]
mov qword [rbp + 0x27], rdi
mov dword [rbp + 0x2f], eax
mov dword [rbp + 0x33], esi
lea rax, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1404862d5]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001208
jmp 0x140284d9f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x25], eax
cmp eax, 0x514
jne 0x140284d9f
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x140284d9f
lea rax, [rbp - 0x25]
mov qword [rbp + 0xf], 4
mov qword [rbp + 7], rax
lea rax, str.Failed_to_disable_token_privileges
mov qword [rbp + 0x17], rax
lea rax, [rbx + 0x18]
cmp qword [rax + 0x18], 8
mov qword [rbp + 0x1f], VarR8FromUI1
jb 0x140284d51
mov rax, qword [rax]
mov rcx, rsi
test rax, rax
je 0x140284d68
mov rdi, rax
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], si
jne 0x140284d5f
lea eax, [rcx*2 + 2]
mov qword [rbp + 0x27], rdi
mov dword [rbp + 0x2f], eax
mov dword [rbp + 0x33], esi
lea rax, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1404862d5]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001208
lea rcx, [rbx + 0x18]
call fcn.140055f70
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140284dc1
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret