Function at 0x140136600
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x560
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
lea rdx, str.CBaseInfoPrinterEx::RestoreDetailsPrinterInfo
lea rcx, [rsp + 0xd0]
call fcn.14001abe0
nop
lea r15, [0x1402a8360]
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140136693
test byte [rcx + 0x1c], 1
je 0x140136693
lea rsi, [0x1402bbdb0]
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x32
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
jmp 0x14013669a
lea rsi, [0x1402bbdb0]
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x3c], r13d
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x350]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x150]
call fcn.1401e7e40
lea rcx, [rsp + 0x40]
call fcn.14009ffa0
nop
lea r8, [rsp + 0x150]
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.1400a25d0
nop
lea rcx, [rdi + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401367f2
mov byte [rsp + 0xd8], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140136754
test byte [rcx + 0x1c], 1
je 0x140136754
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x33]
mov dword [rsp + 0x20], r13d
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x40]
call fcn.1400a0110
nop
lea rax, vtable.WppTrace.0
mov qword [rsp + 0xd0], rax
cmp byte [rsp + 0xd8], 0
jne 0x1401367d1
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x1401367d1
test byte [rcx + 0x1c], 1
je 0x1401367d1
lea rax, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rax, qword [rsp + 0xe0]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x100]
call fcn.1400048a0
lea rcx, [rsp + 0xe0]
call fcn.1400048a0
xor eax, eax
jmp 0x140136ff7
lea r12, [rdi + 0x418]
mov r8d, 0x21
lea rdx, [rdi + 0x210]
mov rcx, r12
call fcn.140042300
cmp qword [rdi + 0x4a8], 0
je 0x140136ef4
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, r12
call fcn.140070e10
lea rdx, [rsp + 0xb0]
mov rcx, r12
call fcn.140070d20
mov ecx, dword [rax + 8]
add ecx, dword [rax]
mov rcx, r12
jne 0x14013696d
call fcn.140042260
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14013688e
test byte [rcx + 0x1c], 4
je 0x14013688e
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x34
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
mov byte [rsp + 0xd8], 1
cmp rcx, r15
je 0x1401368cf
test byte [rcx + 0x1c], 1
je 0x1401368cf
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x35
mov dword [rsp + 0x20], r13d
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x40]
call fcn.1400a0110
nop
lea rax, vtable.WppTrace.0
mov qword [rsp + 0xd0], rax
cmp byte [rsp + 0xd8], 0
jne 0x14013694c
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14013694c
test byte [rcx + 0x1c], 1
je 0x14013694c
lea rax, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rax, qword [rsp + 0xe0]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x100]
call fcn.1400048a0
lea rcx, [rsp + 0xe0]
call fcn.1400048a0
xor eax, eax
jmp 0x140136ff7
xor r8d, r8d
xor edx, edx
call fcn.140070e10
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
test eax, eax
jne 0x140136a40
cmp dword [rsp + 0x30], 0xe0fffff0
jne 0x140137024
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
cmp dword [rsp + 0x30], 0x10000
jne 0x140137074
test eax, eax
jne 0x140136a40
mov rax, qword [rdi]
lea r9, [rsp + 0x350]
mov r8d, 0x200
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0x120]
call qword [case.0x1400136d6.0]
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x40]
call fcn.1400a2800
mov ebx, eax
test eax, eax
js 0x1401370c6
jne 0x140136a40
mov rax, qword [rdi]
lea r8, [rsp + 0x38]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
mov eax, r13d
mov dword [rsp + 0x34], eax
cmp eax, dword [rsp + 0x38]
jae 0x140136e50
test ebx, ebx
jne 0x140136ea0
mov edx, 0x2b08
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
jne 0x140136a86
mov ebx, 0x80010002
mov dword [0x1402bbd98], 2
mov eax, dword [rsp + 0x34]
inc eax
jmp 0x140136a43
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
cmp dword [rsp + 0x30], 0xe0ffffe0
jne 0x14013710a
test eax, eax
jne 0x140136e45
mov rax, qword [rdi]
mov r8, r14
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0x168]
call qword [case.0x1400136d6.0]
mov ebx, eax
test eax, eax
jne 0x140136e45
mov rax, qword [rdi]
lea r8, [r14 + 0x2ae0]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
test eax, eax
jne 0x140136e45
mov eax, dword [r14 + 0x2ae0]
test eax, eax
je 0x140136b5a
imul rdx, rax, 0x630
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r9, rax
mov qword [r14 + 0x2ae8], rax
test rax, rax
je 0x140136a6f
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x170]
mov r8d, dword [r14 + 0x2ae0]
mov rdx, r12
mov rcx, rdi
call qword [case.0x1400136d6.0]
mov ebx, eax
test eax, eax
jne 0x140136e45
jmp 0x140136b61
mov qword [r14 + 0x2ae8], r13
mov edx, 0x20
lea ecx, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r8, rax
mov qword [r14 + 0x2af0], rax
test rax, rax
je 0x140136a6f
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x178]
mov rdx, r12
mov rcx, rdi
call qword [case.0x1400136d6.0]
mov ebx, eax
cmp ax, 0x54
jne 0x140136bbb
mov rcx, qword [r14 + 0x2af0]
test rcx, rcx
je 0x140136bc3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [r14 + 0x2af0], r13
jmp 0x140136bc3
test eax, eax
jne 0x140136e45
mov rax, qword [rdi]
lea r8, [r14 + 0x2af8]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
test eax, eax
jne 0x140136e45
mov eax, dword [r14 + 0x2af8]
test eax, eax
je 0x140136c41
imul rdx, rax, 0x208
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r9, rax
mov qword [r14 + 0x2b00], rax
test rax, rax
je 0x140136a6f
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x180]
mov r8d, dword [r14 + 0x2af8]
mov rdx, r12
mov rcx, rdi
call qword [case.0x1400136d6.0]
mov ebx, eax
test eax, eax
jne 0x140136e45
jmp 0x140136c48
mov qword [r14 + 0x2b00], r13
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
cmp dword [rsp + 0x30], 0xe0ffffee
jne 0x14013715c
test eax, eax
jne 0x140136e45
lea rdx, [r14 + 0x208]
xorps xmm0, xmm0
movups xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x130], r13
mov qword [rsp + 0x138], r13
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140136ca4
lea rcx, [rsp + 0x120]
call fcn.140005520
mov qword [rsp + 0x140], r14
lea r15, [rdi + 0x640]
mov r13, qword [r15]
mov r8, qword [r13 + 8]
mov qword [rsp + 0x78], r8
mov dword [rsp + 0x80], 0
mov rsi, r13
cmp byte [r8 + 0x19], 0
jne 0x140136d36
nop dword [rax]
mov qword [rsp + 0x78], r8
lea rcx, [r8 + 0x20]
lea rdx, [rsp + 0x120]
call fcn.140006420
shr eax, 0x1f
test al, al
je 0x140136d1e
mov dword [rsp + 0x80], 0
mov r8, qword [r8 + 0x10]
jmp 0x140136d2f
mov dword [rsp + 0x80], 1
mov rsi, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x140136cf0
cmp byte [rsi + 0x19], 0
jne 0x140136d64
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x120]
call fcn.140006420
shr eax, 0x1f
test al, al
jne 0x140136d64
mov rsi, qword [rsp + 0x138]
xor r13d, r13d
jmp 0x140136dfe
movabs rax, 0x38e38e38e38e38e
cmp qword [r15 + 8], rax
je 0x1401371af
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], 0
lfence
mov ecx, 0x48
call fcn.1401baa78
nop
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x130]
movups xmmword [rax + 0x30], xmm1
lea esi, [rcx + 7]
mov word [rsp + 0x120], cx
mov qword [rax + 0x40], r14
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov word [rax + 0x18], cx
xor r13d, r13d
mov qword [rsp + 0x98], r13
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0xa0], xmm0
mov r8, rax
lea rdx, [rsp + 0xa0]
mov rcx, r15
call fcn.140005740
nop
cmp rsi, 8
jb 0x140136e3e
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140136e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401371b5
call fcn.1400079c0
lea r15, [0x1402a8360]
mov eax, dword [rsp + 0x34]
inc eax
jmp 0x140136a43
test ebx, ebx
jne 0x140136ea0
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
cmp dword [rsp + 0x30], 0xe0ffffff
jne 0x1401371bb
test eax, eax
jne 0x140136ea0
mov rax, qword [rdi]
lea r8, [rsp + 0x3c]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rax + 0xf0]
call qword [case.0x1400136d6.0]
mov ebx, eax
mov rcx, r12
call fcn.140042260
test ebx, ebx
jne 0x140136eeb
lea rcx, [rsp + 0x60]
call fcn.140091e00
nop
lea r8d, [rbx + 4]
lea rdx, [rdi + 0x210]
lea rcx, [rsp + 0x60]
call fcn.140098d70
cmp dword [rsp + 0x3c], eax
je 0x140136ee1
mov ebx, 0x80010052
mov dword [0x1402bbd98], 0x52
lea rcx, [rsp + 0x60]
call fcn.140091f70
lea rsi, [0x1402bbdb0]
jmp 0x140136f17
mov ebx, 0x80010005
mov dword [0x1402bbd98], 5
jmp 0x140136ef2
mov byte [rsp + 0xd8], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140136f5e
test byte [rcx + 0x1c], 1
je 0x140136f5e
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x3c
mov dword [rsp + 0x20], ebx
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x40]
call fcn.1400a0110
nop
lea rax, vtable.WppTrace.0
mov qword [rsp + 0xd0], rax
cmp byte [rsp + 0xd8], 0
jne 0x140136fdb
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140136fdb
test byte [rcx + 0x1c], 1
je 0x140136fdb
lea r8, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae r8, qword [rsp + 0xe0]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], r8
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x100]
call fcn.1400048a0
lea rcx, [rsp + 0xe0]
call fcn.1400048a0
mov eax, ebx
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140137051
test byte [rcx + 0x1c], 4
je 0x140137051
call fcn.14001b090
mov r9, rax
lea edx, [rbx + 0x36]
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov dword [0x1402bbd98], 6
mov dword [rsp + 0x48], 0x80010006
lea rdx, [0x1402a35b8]
lea rcx, [rsp + 0x48]
call fcn.1401e83cc
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x1401370a3
test byte [rcx + 0x1c], 4
je 0x1401370a3
call fcn.14001b090
mov r9, rax
mov edx, 0x37
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov dword [0x1402bbd98], 6
mov dword [rsp + 0x4c], 0x80010006
lea rdx, [0x1402a35b8]
lea rcx, [rsp + 0x4c]
call fcn.1401e83cc
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x1401370f5
test byte [rcx + 0x1c], 4
je 0x1401370f5
call fcn.14001b090
mov r9, rax
mov edx, 0x38
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov dword [rsp + 0x50], ebx
lea rdx, [0x1402a35b8]
lea rcx, [rsp + 0x50]
call fcn.1401e83cc
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140137139
test byte [rcx + 0x1c], 4
je 0x140137139
call fcn.14001b090
mov r9, rax
mov edx, 0x39
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov dword [0x1402bbd98], 6
mov dword [rsp + 0x54], 0x80010006
lea rdx, [0x1402a35b8]
lea rcx, [rsp + 0x54]
call fcn.1401e83cc
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14013718b
test byte [rcx + 0x1c], 4
je 0x14013718b
call fcn.14001b090
mov r9, rax
mov edx, 0x3a
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov dword [0x1402bbd98], 6
mov dword [rsp + 0x58], 0x80010006
lea rdx, [0x1402a35b8]
lea rcx, [rsp + 0x58]
call fcn.1401e83cc
nop
call fcn.140001ab0
nop
call fcn.1401ec41c
int3
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x1401371ea
test byte [rcx + 0x1c], 4
je 0x1401371ea
call fcn.14001b090
mov r9, rax
mov edx, 0x3b
lea r8, [0x140261f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov dword [0x1402bbd98], 6
mov dword [rsp + 0x5c], 0x80010006
lea rdx, [0x1402a35b8]
lea rcx, [rsp + 0x5c]
call fcn.1401e83cc
int3