Function at 0x14025c4c4
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov rbx, rcx
mov qword [rbp + 0xf], rdi
call fcn.140091ae4
mov rcx, rax
cmp dword [rax], 4
jbe 0x14025c53d
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14025c510
mov rax, qword [rbx]
mov qword [rbp - 1], rax
lea rdx, [0x14044ef31]
lea rax, str.Setting_privilege
mov qword [rbp - 9], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
call fcn.1400056ec
xor edx, edx
lea rcx, [rbp + 0xf]
call fcn.1400dc334
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r8, [rbp + 0xf]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
jne 0x14025c5be
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x14025c753
cmp qword [rbx + 0x18], 8
jb 0x14025c596
mov rbx, qword [rbx]
lea rcx, str.Failed_to_get_process_token
mov qword [rbp - 9], rbx
mov qword [rbp + 7], rcx
lea rdx, [0x14044ef60]
lea rcx, [rbp - 9]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 7]
jmp 0x14025c6ec
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov qword [rbp + 0x17], rdi
jb 0x14025c5cf
mov rdx, qword [rbx]
lea r8, [rbp + 0x17]
xor ecx, ecx
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupPrivilegeValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14025c61e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x14025c753
cmp qword [rbx + 0x18], 8
jb 0x14025c60b
mov rbx, qword [rbx]
lea rcx, str.Failed_to_lookup_for_privilege_value
lea rdx, [0x14044ef60]
jmp 0x14025c6d7
mov rax, qword [rbp + 0x17]
lea r8, [rbp + 0x27]
mov rcx, qword [rbp + 0xf]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rbp + 0x2b], rax
xor edx, edx
lea rax, [rbp + 0x1f]
mov dword [rbp + 0x27], 1
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x33], 2
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
nop dword [rax + rax]
test eax, eax
jne 0x14025c69c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x14025c753
cmp qword [rbx + 0x18], 8
jb 0x14025c68c
mov rbx, qword [rbx]
lea rcx, str.Failed_to_adjust_token_privileges
lea rdx, [0x14044ef60]
jmp 0x14025c6d7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, 0x514
cmp eax, esi
jne 0x14025c707
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x14025c753
cmp qword [rbx + 0x18], 8
jb 0x14025c6c9
mov rbx, qword [rbx]
lea rcx, str.Failed_to_assign_privileges
lea rdx, [0x14044ef60]
mov qword [rbp - 9], rcx
lea rcx, [rbp + 7]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 9]
mov qword [rbp + 7], rbx
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 1]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov dword [rbp - 1], esi
call fcn.140003418
jmp 0x14025c753
cmp dword [rbp + 0x37], edi
jne 0x14025c750
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14025c750
cmp qword [rbx + 0x18], 8
jb 0x14025c720
mov rbx, qword [rbx]
lea rcx, str.Privilege_was_enabled_before_and_not_changed
mov qword [rbp + 7], rbx
mov qword [rbp - 9], rcx
lea rdx, [0x14044ef31]
lea rcx, [rbp + 7]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 9]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400056ec
mov dil, 1
lea rcx, [rbp + 0xf]
call fcn.1400f0310
mov al, dil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140112420
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret