Function at 0x140067ee0
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 0x140067f32
test r9d, r9d
je 0x140067f32
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 0x140068121
call sym.spoolsv.exe_PrvWaitForSpoolerInitialization
mov rbx, qword [0x1400b84d8]
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 0x140068101
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 [0x140097d68]
xor r8d, r8d
mov dword [rsp + 0x44], eax
mov edx, eax
test eax, eax
jne 0x14006803e
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 0x14006800a
add eax, 0xffffff85
cmp eax, 1
ja 0x14006800a
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.14006767c
xor r8d, r8d
test eax, eax
jne 0x140068030
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 0x14006804c
mov ebp, ebx
mov dword [rsi], r8d
cmp ebx, 0x7a
mov rbx, qword [rsp + 0x48]
je 0x140068051
mov dword [rdi], r8d
jmp 0x140068051
mov ecx, 1
mov dword [rsp + 0xa8], ecx
jmp 0x140068014
mov ecx, 1
mov dword [rsp + 0xa8], ecx
jmp 0x140068051
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 0x140068070
cmp eax, 1
jne 0x1400680c6
mov eax, dword [rsi]
shl rax, 5
jmp 0x140068076
mov eax, dword [rsi]
shl rax, 3
add r14d, dword [rdi]
cmp edx, 2
je 0x1400680ae
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 0x140067f71
mov eax, dword [rsp + 0x40]
mov dword [rdi], r14d
mov dword [rsi], eax
cmp r14d, r15d
jbe 0x14006810a
mov ecx, 0x7a
jmp 0x140067f1f
mov rcx, qword [0x1400b62f8]
lea rax, [0x1400b62f8]
cmp rcx, rax
je 0x1400680f7
test byte [rcx + 0x44], 0x20
je 0x1400680f7
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400aafa8]
mov edx, 0xa
mov r9d, r13d
call fcn.14002f358
mov ecx, 0x7c
jmp 0x140067f1f
mov ecx, dword [rsp + 0xa8]
jmp 0x1400680b2
test ecx, ecx
je 0x14006813a
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 0x14006811c
mov ecx, ebp
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400b62f8]
lea rax, [0x1400b62f8]
cmp rcx, rax
je 0x140067f2b
test byte [rcx + 0x44], 0x20
je 0x140067f2b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400b62f8]
lea r8, [0x1400aafa8]
mov r9d, eax
mov edx, 0xb
mov rcx, qword [rcx + 0x38]
call fcn.14002f358
jmp 0x140067f2b