Function at 0x140027c00
Capabilities:
Delete registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c20]
mov eax, 0x1d20
call fcn.14019e810
sub rsp, rax
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1d70], rbx
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0x1c10], rax
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor r8d, r8d
lea rdx, str.Tool_DeletePrinterStd
lea rcx, [rsp + 0x40]
call fcn.140001190
nop
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r15
mov r9, rdi
lea r8, str.hWnd___08x__lpszPrinter___s__bJob___d
mov r13d, 1
mov edx, r13d
lea rcx, [rsp + 0x40]
call fcn.140001370
mov qword [rbp - 0x68], rbx
mov dword [rsp + 0x54], ebx
mov word [rbp + 0x13b0], bx
xor edx, edx
mov r8d, 0x85e
lea rcx, [rbp + 0x13b2]
call fcn.14019d7c0
mov dword [rbp - 0x58], r13d
mov word [rbp + 0xfa0], bx
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0xfa2]
call fcn.14019d7c0
mov dword [rsp + 0x50], ebx
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
xor r8d, r8d
lea rdx, [0x1402209ac]
lea rcx, [rbp + 0x88]
call fcn.140003200
nop
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x78], r13d
mov dword [rbp - 0x28], r13d
mov dword [rbp - 0x74], r13d
mov r14d, ebx
mov qword [rbp - 8], rbx
mov qword [rbp], rbx
mov qword [rbp + 8], rbx
call fcn.140059f20
mov r12, qword [rax + 8]
mov qword [rbp - 0x80], r12
call fcn.1400166e0
mov dword [rsp + 0x68], eax
mov dword [rbp - 0x70], ebx
mov rcx, qword [r12 + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rcx + 0x158]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1400280fc
mov dword [rsp + 0x60], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov rcx, r15
call fcn.140023ca0
cmp eax, r13d
jne 0x140027dd6
lea r9d, [rbx + 3]
lea r8, str.return___08x
lea edx, [rbx + 2]
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
cmp qword [rbp + 0xa0], 8
jb 0x140027da9
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, 3
jmp 0x14002933b
mov dword [rbp - 0x70], ebx
test r15, r15
je 0x140027df2
mov rax, qword [r12 + 0x7a0]
mov rcx, r15
call qword [rax + 0x148]
mov dword [rbp - 0x70], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
lea ecx, [rdx + 6]
lea r8d, [r9 + 2]
call qword [sym.imp.WINSPOOL.DRV_EnumPrintersW]
test eax, eax
jne 0x140027e79
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140027e79
mov r9d, r13d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
cmp qword [rbp + 0xa0], 8
jb 0x140027e5b
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
jmp 0x14002932e
mov edx, dword [rsp + 0x54]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x140027ee0
mov r9d, r13d
lea r8, str.return___08x
lea edx, [rax + 2]
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
cmp qword [rbp + 0xa0], 8
jb 0x140027ec2
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
jmp 0x14002932e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9, rsi
xor edx, edx
lea ecx, [rdx + 6]
lea r8d, [rdx + 2]
call qword [sym.imp.WINSPOOL.DRV_EnumPrintersW]
or r12, 0xffffffffffffffff
test eax, eax
je 0x140027fa6
mov edi, ebx
cmp dword [rsp + 0x50], 0
jbe 0x140027fa6
add rsi, 8
nop dword [rax + rax]
mov rdx, r15
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140027f55
inc edi
add rsi, 0x88
cmp edi, dword [rsp + 0x50]
jb 0x140027f30
mov rsi, qword [rbp - 0x60]
jmp 0x140027fa6
imul rdi, rdi, 0x88
mov rsi, qword [rbp - 0x60]
mov rax, qword [rdi + rsi + 8]
cmp word [rax], 0x5c
jne 0x140027f83
mov rcx, qword [rdi + rsi]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x70]
test eax, eax
cmovne ecx, r13d
mov dword [rsp + 0x70], ecx
mov rdx, qword [rdi + rsi + 0x20]
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x88]
call fcn.140003200
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x70], 0
jne 0x14002816f
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x70], rbx
mov dword [rbp + 0x78], 0xf000c
lea r8, [rbp + 0x68]
lea rdx, [rbp - 0x68]
mov rcx, r15
call qword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
mov dword [rsp + 0x78], eax
test eax, eax
jne 0x14002808c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
cmp eax, 5
jne 0x14002804f
lea r9d, [rdx + 2]
call fcn.140001370
nop
cmp qword [rbp + 0xa0], 8
jb 0x140028022
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, 4
jmp 0x14002933b
mov r9d, r13d
call fcn.140001370
nop
cmp qword [rbp + 0xa0], 8
jb 0x14002806e
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
jmp 0x14002932e
lea rdx, [rbp + 0xfa0]
mov rcx, r15
call fcn.140024420
cmp eax, 0xffffffff
jne 0x14002816f
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov r9d, r13d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
cmp qword [rbp + 0xa0], 8
jb 0x1400280de
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
jmp 0x14002932e
xor eax, eax
lea rdi, [0x14021d928]
mov rsi, qword [r12 + 0x1c8]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x14002811c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x1400292e5
mov rax, qword [r12 + 0x260]
cmp dword [rax + 0x4c], 0
je 0x1400292e5
cmp dword [rax + 0x6c], 0
je 0x1400292e5
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [rbp + 0x88]
call fcn.140003200
mov dword [rsp + 0x60], r13d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 3]
call qword [sym.imp.WINSPOOL.DRV_EnumPrinterDriversW]
test eax, eax
jne 0x140028206
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140028206
mov r9d, 6
lea r8, str.return___08x
lea edx, [r9 - 4]
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
cmp qword [rbp + 0xa0], 8
jb 0x1400281d9
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, 6
jmp 0x14002933b
mov byte [rsp + 0x58], 0
mov eax, dword [rsp + 0x54]
mov r8d, eax
test eax, eax
je 0x14002822f
lea r9, [rsp + 0x58]
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.140034320
mov eax, dword [rsp + 0x54]
mov r14, qword [rbp - 8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9, r14
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.WINSPOOL.DRV_EnumPrinterDriversW]
test eax, eax
je 0x140029214
mov edi, ebx
cmp dword [rsp + 0x50], ebx
jbe 0x140029214
lea rsi, [r14 + 8]
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rdx, qword [rbp + 0x88]
mov rcx, qword [rsi]
call fcn.140199570
test eax, eax
je 0x1400282a4
inc edi
add rsi, 0x50
cmp edi, dword [rsp + 0x50]
jb 0x140028270
jmp 0x140029214
mov eax, edi
lea rdi, [rax + rax*4]
shl rdi, 4
add rdi, r14
mov qword [rbp - 0x48], rdi
je 0x140029214
xor edx, edx
mov rcx, qword [rdi + 0x38]
call fcn.140016d10
cmp eax, 1
jne 0x14002849a
call fcn.140059f20
mov r13, qword [rax + 8]
call fcn.140056384
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400282f7
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x70], rsi
call fcn.140056384
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x140028328
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x10], rdi
mov ecx, 2
call fcn.140056158
test rax, rax
je 0x140028360
mov r8d, 2
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140005730
mov rsi, qword [rsp + 0x70]
mov ecx, 3
call fcn.140056158
test rax, rax
je 0x140028385
mov r8d, 3
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140005730
mov rdi, qword [rbp - 0x10]
mov rax, qword [r13 + 0x260]
cmp dword [rax + 0x4c], 0
je 0x1400283da
mov rdx, rdi
mov rcx, qword [r13 + 0x268]
call fcn.140012770
mov edx, 0xa
lea r8d, [rdx + 0x16]
lea rcx, [rsp + 0x70]
call fcn.140014570
mov rdx, qword [rsp + 0x70]
mov rcx, qword [r13 + 0x268]
call fcn.140012770
lea rdx, [0x14021dbc0]
mov rcx, qword [r13 + 0x268]
call fcn.140012770
jmp 0x1400283f0
mov r9d, 0x30
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r9d, 2
lea r8, str.return___08x
mov edx, r9d
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028427
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140028448
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140028457
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x14002846d
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, 2
jmp 0x14002933b
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0xe0]
call fcn.14019d7c0
mov r9d, r13d
mov r8d, 0x40
lea rdx, [rbp + 0xe0]
mov rcx, qword [rdi + 0x18]
call fcn.140017a50
test eax, eax
jne 0x140028537
cmp dword [rsp + 0x70], eax
jne 0x1400284db
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov r9d, r13d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
test r14, r14
je 0x140028503
mov rcx, r14
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x140028519
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
jmp 0x14002932e
xor eax, eax
mov dword [rbp - 0x30], eax
mov byte [rbp - 0x2c], al
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.140015960
xor edx, edx
mov r8d, 0x820
lea rcx, [rbp + 0x780]
call fcn.14019d7c0
mov dword [rbp - 0x78], ebx
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x780]
mov rcx, r15
call fcn.140015b60
mov rsi, qword [rbp - 0x80]
cmp dword [rsp + 0x60], 0
jne 0x14002878d
cmp dword [rsp + 0x70], 0
jne 0x1400286a2
mov edi, dword [rsi + 0x7a8]
cmp dword [rsp + 0x68], 0xa
jne 0x14002860b
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], rbx
mov word [rbp + 0xb0], bx
xor eax, eax
mov rcx, r12
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.140003200
nop
lea r9, [rbp - 0x68]
lea r8, [rbp + 0x780]
mov edx, dword [rbp - 0x78]
lea rcx, [rbp + 0xb0]
call fcn.1400218c0
mov edi, eax
cmp qword [rbp + 0xc8], 8
jb 0x140028637
mov rcx, qword [rbp + 0xb0]
call fcn.14005605c
jmp 0x140028637
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WINSPOOL.DRV_ClosePrinter]
lea rcx, [rsi + 0x790]
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x780]
mov r8d, edi
mov rdx, r15
call fcn.140050ff0
mov edi, eax
cmp dword [rsp + 0x78], 0
je 0x140028646
test edi, edi
je 0x140028789
mov r9d, r13d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
test r14, r14
je 0x14002866e
mov rcx, r14
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x140028684
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
jmp 0x14002932e
lea rcx, [rsi + 0x790]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, dword [rsi + 0x7a8]
mov rdx, r15
call fcn.140050ff0
test eax, eax
je 0x14002878d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
cmp eax, 5
jne 0x14002873e
lea r9d, [rdx + 2]
call fcn.140001370
nop
test r14, r14
je 0x1400286fb
mov rcx, r14
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x140028711
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, 4
jmp 0x14002933b
mov r9d, r13d
call fcn.140001370
nop
test r14, r14
je 0x140028755
mov rcx, r14
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x14002876b
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
jmp 0x14002932e
mov rdi, qword [rbp - 0x48]
mov rdx, qword [rdi + 8]
lea rcx, [rbp - 0x40]
call fcn.1400054e0
nop
call fcn.140056384
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400287ba
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
mov rcx, qword [rbp - 0x40]
add rcx, 0xffffffffffffffe8
call fcn.140006db0
add rax, 0x18
mov qword [rbp + 0x40], rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x40]
call fcn.140025570
cmp dword [rsp + 0x60], 0
jne 0x140028e04
call fcn.140056384
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x140028817
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
call fcn.140056384
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x140028848
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
call fcn.140056384
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x140028879
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x30], rax
call fcn.140056384
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400288a9
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x28], rax
mov rdx, qword [rdi + 8]
lea rcx, [rbp - 0x50]
call fcn.1400054e0
nop
mov r8d, 5
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140012140
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x50]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140028938
cmp dword [rdi + 0x10], 0
jl 0x14002892a
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14002892a
call fcn.140006db0
mov r14, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028920
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r14 + 0x18]
mov qword [rbp - 0x50], rax
jmp 0x140028938
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x50]
call fcn.1400059f0
nop
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028957
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r15
lea rcx, [rbp - 0x60]
call fcn.1400054e0
nop
mov r8d, 2
lea rdx, [0x140220450]
mov rcx, r15
call fcn.140199c9c
test eax, eax
jne 0x140028b54
mov rax, qword [rbp - 0x60]
mov r8d, dword [rax - 0x10]
dec r8d
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140012140
nop
lea r14, [rsi + 0x1d8]
mov r8, rax
mov rdx, r14
lea rcx, [rbp + 0x48]
call fcn.140012280
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x68]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140028a17
cmp dword [rdi + 0x10], 0
jl 0x140028a08
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140028a08
call fcn.140006db0
mov r14, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400289f6
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x68], rax
lea r14, [rsi + 0x1d8]
jmp 0x140028a17
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400059f0
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028a37
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028a56
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r14]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x78]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140028ab4
cmp dword [rdi + 0x10], 0
jl 0x140028aa6
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140028aa6
call fcn.140006db0
mov r14, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028a9b
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x140028ab4
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.1400059f0
mov rdi, qword [rsp + 0x68]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.1400222d0
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, 0x5c
mov rcx, rdi
call fcn.14019a074
test rax, rax
jne 0x140028aef
mov eax, r12d
jmp 0x140028af5
sub rax, rdi
sar rax, 1
mov r8d, eax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.1400121e0
nop
mov rdi, qword [rbp + 0x60]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.1400224a0
cmp eax, 1
jne 0x140028b30
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028ce9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140028ce9
mov rdx, r15
lea rcx, [rbp + 0x58]
call fcn.1400054e0
nop
lea rdx, [rsi + 0x1d0]
mov r8, rax
lea rcx, [rbp + 0x38]
call fcn.140012280
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x68]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140028bd4
cmp dword [rdi + 0x10], 0
jl 0x140028bc5
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140028bc5
call fcn.140006db0
mov r14, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028bba
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x68], rax
jmp 0x140028bd4
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400059f0
nop
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028bf4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028c13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi + 0x1d8]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x78]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140028c75
cmp dword [rdi + 0x10], 0
jl 0x140028c67
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140028c67
call fcn.140006db0
mov r14, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028c5c
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x140028c75
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.1400059f0
mov rdi, qword [rsp + 0x68]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.1400222d0
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
lea rdi, str.CAPT
mov rsi, qword [rsi + 0x788]
mov ecx, 5
repe cmpsw word [rsi], word [rdi]
je 0x140028cb8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x140028ce5
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rsi, qword [rbp - 0x80]
test eax, eax
je 0x140028ce9
cmp dword [rsi + 0x810], 0
je 0x140028ce9
mov rcx, r15
call fcn.140032f20
jmp 0x140028ce9
mov rsi, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.1400224a0
cmp eax, 1
jne 0x140028d3f
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call fcn.1400224a0
cmp eax, 1
jne 0x140028d3f
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028d5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028d7f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028d9f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028dbf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028de0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028e00
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x48]
mov rdx, rbx
cmp dword [rsp + 0x60], edx
cmovne rdx, r15
mov rcx, qword [rdi + 8]
call fcn.140021b10
test eax, eax
je 0x140028e27
mov eax, ebx
mov r15d, dword [rbp - 0x28]
jmp 0x140028f7c
xor eax, eax
lea rdi, str.CAPT
mov rsi, qword [rsi + 0x788]
mov ecx, 5
repe cmpsw word [rsi], word [rdi]
je 0x140028e46
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov rsi, qword [rbp - 0x80]
test al, al
je 0x140028e6c
cmp dword [rsi + 0x810], 0
je 0x140028e6c
call fcn.140030770
mov ecx, dword [rbp - 0x74]
test eax, eax
cmove ecx, ebx
mov dword [rbp - 0x74], ecx
mov r8d, dword [rbp - 0x78]
lea rdx, [rbp + 0x780]
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call fcn.140029370
mov r15d, eax
mov rcx, qword [rsi + 0x260]
cmp dword [rcx + 0x88], 0
jne 0x140028f79
mov rcx, qword [rdi + 8]
call fcn.140017f40
test eax, eax
je 0x140028ee9
call fcn.140018650
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
lea rdx, str.SOFTWARECanonVDCSETUPVDCUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140028ee9
mov r14d, ebx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140028eed
mov r14d, dword [rbp - 0x58]
call fcn.14001d4a0
test eax, eax
je 0x140028f83
call fcn.14001cf50
mov qword [rbp - 0x20], rbx
mov word [rbp + 0x160], bx
xor edx, edx
mov r8d, 0x616
lea rcx, [rbp + 0x162]
call fcn.14019d7c0
lea r9, str.DIASUser
lea r8, str.SOFTWARECanonDIASSETUP
lea rdx, str._s_s
lea rcx, [rbp + 0x160]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rdx
mov r9d, 0x2011f
xor r8d, r8d
lea rdx, [rbp + 0x160]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140028f83
mov r13d, ebx
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140028f83
mov eax, r13d
mov r14d, r13d
test eax, eax
je 0x140028f8c
call fcn.140030320
mov esi, eax
jmp 0x140028f8f
mov esi, r13d
mov rdi, qword [rbp - 0x80]
cmp dword [rdi + 0x83c], 0
je 0x140028fa1
call fcn.14001e420
cmp dword [rsp + 0x60], 0
jne 0x140028fd3
cmp dword [rbp - 0x70], 1
jne 0x140028fd3
lea rcx, [rbp + 0x13b0]
call fcn.140023f00
cmp eax, 1
jne 0x140028fd3
mov rax, qword [rdi + 0x7a0]
lea rcx, [rbp + 0x13b0]
call qword [rax + 0x110]
mov rdi, qword [rbp - 0x38]
add rdi, 0xffffffffffffffe8
mov rcx, rdi
call fcn.140006db0
add rax, 0x18
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.140026290
test r15d, r15d
jne 0x1400290a4
lea r9d, [r15 + 6]
lea r8, str.return___08x
lea edx, [r15 + 2]
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x140029032
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140029052
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140029061
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x140029077
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, 6
jmp 0x14002933b
test r14d, r14d
je 0x14002916b
test r13d, r13d
je 0x14002916b
test esi, esi
je 0x14002916b
cmp dword [rbp - 0x74], 0
je 0x14002916b
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x1400290fc
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x14002911c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14002912b
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x140029141
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
xor eax, eax
jmp 0x14002933b
mov r9d, 5
lea r8, str.return___08x
lea edx, [r9 - 3]
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x1400291a2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x1400291c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400291d1
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x1400291e7
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, 5
jmp 0x14002933b
cmp dword [rsp + 0x60], 0
je 0x140029282
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
test r14, r14
je 0x140029242
mov rcx, r14
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x140029258
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
xor eax, eax
jmp 0x14002933b
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov r9d, r13d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
test r14, r14
je 0x1400292b4
mov rcx, r14
call fcn.14005605c
nop
cmp qword [rbp + 0xa0], 8
jb 0x1400292ca
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
jmp 0x14002932e
mov r9d, r13d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
cmp qword [rbp + 0xa0], 8
jb 0x140029315
mov rcx, qword [rbp + 0x88]
call fcn.14005605c
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], rbx
mov word [rbp + 0x88], bx
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, r13d
mov rcx, qword [rbp + 0x1c10]
xor rcx, rsp
call fcn.140198b40
mov rbx, qword [rsp + 0x1d70]
add rsp, 0x1d20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret