Function at 0x140064e90
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 0x140064edc
test r9d, r9d
je 0x140064edc
mov ecx, 0x6f8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x1400650b9
call sym.spoolsv.exe_PrvWaitForSpoolerInitialization
mov rbx, qword [0x1400aede0]
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 0x14006509f
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 [0x14008f7f0]
xor r8d, r8d
mov dword [rsp + 0x44], eax
mov edx, eax
test eax, eax
jne 0x140064fdc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
cmp r13d, 2
jne 0x140064fa8
add eax, 0xffffff85
cmp eax, 1
ja 0x140064fa8
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.1400646bc
xor r8d, r8d
test eax, eax
jne 0x140064fce
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov ecx, dword [rsp + 0xa8]
xor r8d, r8d
mov edx, dword [rsp + 0x44]
test ebx, ebx
je 0x140064fea
mov ebp, ebx
mov dword [rsi], r8d
cmp ebx, 0x7a
mov rbx, qword [rsp + 0x48]
je 0x140064fef
mov dword [rdi], r8d
jmp 0x140064fef
mov ecx, 1
mov dword [rsp + 0xa8], ecx
jmp 0x140064fb2
mov ecx, 1
mov dword [rsp + 0xa8], ecx
jmp 0x140064fef
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 0x14006500e
cmp eax, 1
jne 0x140065064
mov eax, dword [rsi]
shl rax, 5
jmp 0x140065014
mov eax, dword [rsi]
shl rax, 3
add r14d, dword [rdi]
cmp edx, 2
je 0x14006504c
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 0x140064f1b
mov eax, dword [rsp + 0x40]
mov dword [rdi], r14d
mov dword [rsi], eax
cmp r14d, r15d
jbe 0x1400650a8
mov ecx, 0x7a
jmp 0x140064ecf
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x140065095
test byte [rcx + 0x1c], 0x20
je 0x140065095
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400a1d30]
mov edx, 0xa
mov r9d, r13d
call fcn.14002efb8
mov ecx, 0x7c
jmp 0x140064ecf
mov ecx, dword [rsp + 0xa8]
jmp 0x140065050
test ecx, ecx
je 0x1400650d1
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
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 0x1400650b4
mov ecx, ebp
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x140064ed5
test byte [rcx + 0x1c], 0x20
je 0x140064ed5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x1400ad2f8]
lea r8, [0x1400a1d30]
mov r9d, eax
mov edx, 0xb
mov rcx, qword [rcx + 0x10]
call fcn.14002efb8
jmp 0x140064ed5