Function at 0x140068d90
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor ebp, ebp
mov r15d, r9d
and dword [rsp + 0xa8], ebp
mov r13d, edx
mov r12d, r9d
test r8, r8
jne 0x140068de2
test r9d, r9d
je 0x140068de2
mov ecx, 0x6f8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140068fd1
call sym.spoolsv.exe_PrvWaitForSpoolerInitialization
mov rbx, qword [0x1400b7258]
xor r8d, r8d
mov rsi, qword [rsp + 0xb8]
mov eax, r8d
mov rdi, qword [rsp + 0xb0]
mov r14d, r8d
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
test rbx, rbx
je 0x140068fb1
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
mov r9d, r12d
mov dword [rsi], r8d
mov dword [rdi], r8d
mov r8, rdx
mov rax, qword [rbx + 0x150]
mov edx, r13d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call qword [0x1400978a8]
xor r8d, r8d
mov dword [rsp + 0x44], eax
mov edx, eax
test eax, eax
jne 0x140068eee
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp r13d, 2
jne 0x140068eba
add eax, 0xffffff85
cmp eax, 1
ja 0x140068eba
mov r8, qword [rsp + 0xa0]
mov r9d, r12d
mov rdx, qword [rsp + 0x90]
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call fcn.14006852c
xor r8d, r8d
test eax, eax
jne 0x140068ee0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov ecx, dword [rsp + 0xa8]
xor r8d, r8d
mov edx, dword [rsp + 0x44]
test ebx, ebx
je 0x140068efc
mov ebp, ebx
mov dword [rsi], r8d
cmp ebx, 0x7a
mov rbx, qword [rsp + 0x48]
je 0x140068f01
mov dword [rdi], r8d
jmp 0x140068f01
mov ecx, 1
mov dword [rsp + 0xa8], ecx
jmp 0x140068ec4
mov ecx, 1
mov dword [rsp + 0xa8], ecx
jmp 0x140068f01
mov rbx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x40]
add eax, dword [rsi]
mov dword [rsp + 0x40], eax
mov eax, r13d
sub eax, 1
je 0x140068f20
cmp eax, 1
jne 0x140068f76
mov eax, dword [rsi]
shl rax, 5
jmp 0x140068f26
mov eax, dword [rsi]
shl rax, 3
add r14d, dword [rdi]
cmp edx, 2
je 0x140068f5e
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rbx]
add rdx, rax
mov eax, r12d
mov qword [rsp + 0x48], rbx
sub r12d, dword [rdi]
cmp dword [rdi], eax
mov qword [rsp + 0xa0], rdx
cmova r12d, r8d
test rbx, rbx
jne 0x140068e21
mov eax, dword [rsp + 0x40]
mov dword [rdi], r14d
mov dword [rsi], eax
cmp r14d, r15d
jbe 0x140068fba
mov ecx, 0x7a
jmp 0x140068dcf
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x140068fa7
test byte [rcx + 0x44], 0x20
je 0x140068fa7
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400a9d80]
mov edx, 0xa
mov r9d, r13d
call fcn.14002d778
mov ecx, 0x7c
jmp 0x140068dcf
mov ecx, dword [rsp + 0xa8]
jmp 0x140068f62
test ecx, ecx
je 0x140068fea
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, 1
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test ebp, ebp
je 0x140068fcc
mov ecx, ebp
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x140068ddb
test byte [rcx + 0x44], 0x20
je 0x140068ddb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400b52f8]
lea r8, [0x1400a9d80]
mov r9d, eax
mov edx, 0xb
mov rcx, qword [rcx + 0x38]
call fcn.14002d778
jmp 0x140068ddb