Function at 0x14003c0d0
Capabilities:
Delete registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x3ff0
call fcn.1400a28a0
sub rsp, rax
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov qword [rsp + 0x4040], rbx
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0x3fe0], rax
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov r13, rcx
call fcn.140069504
mov rcx, qword [rax + 8]
call fcn.14007442c
nop
xor r12d, r12d
mov dword [rsp + 0x84], r12d
mov r15d, 1
mov dword [rsp + 0x68], r15d
call fcn.140069504
mov rbp, qword [rax + 8]
mov qword [rsp + 0xa8], rbp
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, r13
call fcn.140022a60
cmp eax, r15d
jne 0x14003c17d
test edi, edi
jne 0x14003c17d
lea rcx, [rsp + 0x40]
call fcn.140018910
lea eax, [rdi + 3]
jmp 0x14003d12a
lea rax, [rbp + 0xb90]
mov qword [rsp + 0xf0], rax
mov rdx, r13
mov rcx, rax
call fcn.140060a10
mov dword [rsp + 0x78], eax
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x320]
call fcn.140080d50
lea rdx, [rsp + 0x44]
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor edx, edx
mov edi, 4
lea r8d, [r9 + 2]
mov qword [rsp + 0x98], rdi
mov ecx, edi
call sub.WINSPOOL.DRV_EnumPrintersW
test eax, eax
jne 0x14003c207
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14003c207
lea rcx, [rsp + 0x40]
call fcn.140018910
mov eax, r15d
jmp 0x14003d12a
mov edx, dword [rsp + 0x48]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x14003c230
lea rcx, [rsp + 0x40]
call fcn.140018910
mov eax, r15d
jmp 0x14003d12a
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9, rsi
xor edx, edx
lea r8d, [rdx + 2]
mov ecx, edi
call sub.WINSPOOL.DRV_EnumPrintersW
test eax, eax
je 0x14003c2bc
cmp dword [rsp + 0x44], r12d
jbe 0x14003c2c1
lea rdi, [rsi + 8]
nop
nop
mov rdx, r13
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14003c298
add r12d, r15d
add rdi, 0x88
cmp r12d, dword [rsp + 0x44]
jb 0x14003c270
mov edi, 4
jmp 0x14003c2c1
mov edx, r12d
imul rdx, rdx, 0x88
mov rdx, qword [rdx + rsi + 0x20]
lea rcx, [rsp + 0x320]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, 4
jmp 0x14003c2c1
mov r12d, dword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor edx, edx
mov r8d, 0x820
lea rcx, [rsp + 0xf60]
call fcn.140080d50
xor esi, esi
mov dword [rsp + 0x7c], esi
lea r9, [rsp + 0x7c]
mov r8d, 0x410
lea rdx, [rsp + 0xf60]
mov rcx, r13
call fcn.140015570
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, dword [rbp + 0xba8]
mov rdx, r13
lea rcx, [rbp + 0xb90]
call fcn.140060ba0
test eax, eax
je 0x14003c34f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14003c33d
lea rcx, [rsp + 0x40]
call fcn.140018910
mov eax, edi
jmp 0x14003d12a
lea rcx, [rsp + 0x40]
call fcn.140018910
mov eax, r15d
jmp 0x14003d12a
call fcn.140069504
mov rcx, qword [rax + 8]
call fcn.14007446c
cmp ebx, r15d
jne 0x14003c397
mov r9d, r15d
mov r8, r13
lea rdx, str.Tool_DeleteNetworkPrinter__s__RET__ld_
lea rcx, [rsp + 0x1fe0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor r9d, r9d
lea r8, str.AddPrinter
lea rdx, [rsp + 0x1fe0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
call fcn.1400696cc
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14003c3b6
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0xb8], rax
call fcn.1400696cc
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14003c3fa
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x320]
lea rax, [rsp + 0x320]
or rbp, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14003c44f
movzx edi, cx
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14003c47c
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140003a40
jmp 0x14003c47c
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x320]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x88]
call fcn.140003c40
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x88]
call fcn.140027420
call fcn.1400696cc
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14003c4b0
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
call fcn.1400696cc
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14003c4e1
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.1400696cc
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14003c512
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
test r13, r13
je 0x14003c568
test r13, 0xffffffffffff0000
jne 0x14003c554
movzx edi, r13w
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14003c57b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003a40
jmp 0x14003c57b
xor eax, eax
mov rcx, rbp
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x14003c56a
mov ecx, esi
mov r8d, ecx
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.140003c40
nop
call fcn.1400696cc
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14003c59a
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
test r14, r14
je 0x14003c5f0
test r14, 0xffffffffffff0000
jne 0x14003c5dc
movzx edi, r14w
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14003c603
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003a40
jmp 0x14003c603
xor eax, eax
mov rcx, rbp
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x14003c5f2
mov ecx, esi
mov r8d, ecx
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140003c40
nop
mov dword [rsp + 0x80], esi
xor eax, eax
lea rdi, [0x1400a8f20]
mov r14, qword [rsp + 0xa8]
mov rsi, qword [r14 + 0xb88]
mov ecx, 4
repe cmpsw word [rsi], word [rdi]
je 0x14003c631
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x14003c64e
mov rcx, r13
call fcn.140030e10
mov dword [rsp + 0x80], eax
jmp 0x14003c92e
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax - 0x10]
add r8d, 0xffffffff
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x50]
call fcn.140003710
nop
mov r8, rax
lea rdx, [r14 + 0x5d8]
lea rcx, [rsp + 0xf8]
call fcn.140003ec0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14003c6e0
cmp dword [rbx + 0x10], 0
jl 0x14003c6d1
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14003c6d1
call fcn.1400031e0
mov rdi, rax
mov ecx, ebp
lock xadd dword [rbx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x14003c6c6
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x14003c6e0
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140003c40
nop
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003c704
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xe8]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003c727
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r14 + 0x5d8]
lea rcx, [rdx - 0x18]
mov rsi, qword [rsp + 0x60]
lea rdi, [rsi - 0x18]
cmp rcx, rdi
je 0x14003c78e
cmp dword [rdi + 0x10], 0
jl 0x14003c77b
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14003c77b
call fcn.1400031e0
mov rsi, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x14003c770
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rsi, 0x18
mov qword [rsp + 0x60], rsi
jmp 0x14003c78e
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140003c40
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call fcn.1400222b0
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call fcn.1400696cc
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14003c7d1
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xa0], rax
test r13, r13
je 0x14003c82d
test r13, 0xffffffffffff0000
jne 0x14003c819
movzx edi, r13w
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14003c843
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140003a40
jmp 0x14003c843
xor eax, eax
mov rcx, rbp
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x14003c82f
xor ecx, ecx
mov r8d, ecx
mov rdx, r13
lea rcx, [rsp + 0xa0]
call fcn.140003c40
nop
mov dx, 0x5c
mov rcx, rbx
call fcn.140080890
test rax, rax
jne 0x14003c858
mov eax, ebp
jmp 0x14003c85e
sub rax, rbx
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x58]
call fcn.1400038a0
mov rdi, qword [rsp + 0x100]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.1400223e0
cmp eax, 1
jne 0x14003c89f
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rdx, rsi
mov rcx, 0xffffffff80000001
call fcn.1400223e0
cmp eax, 1
jne 0x14003c8ef
mov rdx, rsi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call fcn.1400223e0
cmp eax, 1
jne 0x14003c8ef
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [rdi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003c90b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003c92e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 3]
call sub.WINSPOOL.DRV_EnumPrinterDriversW
test eax, eax
jne 0x14003ca29
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14003ca29
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003c992
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003c9b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003c9d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003c9f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14003ca17
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x40]
call fcn.140018910
mov eax, r15d
jmp 0x14003d12a
mov edx, dword [rsp + 0x48]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
jne 0x14003cafc
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003ca65
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003ca86
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003caa7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003cac8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14003caea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x40]
call fcn.140018910
mov eax, r15d
jmp 0x14003d12a
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9, r14
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 3]
call sub.WINSPOOL.DRV_EnumPrinterDriversW
test eax, eax
je 0x14003cb64
xor r12d, r12d
cmp dword [rsp + 0x44], r12d
jbe 0x14003cb64
lea rdi, [r14 + 8]
nop
nop
lea rdx, [rsp + 0x320]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14003cb64
add r12d, 1
add rdi, 0x50
cmp r12d, dword [rsp + 0x44]
jb 0x14003cb40
call fcn.140015a10
mov edi, eax
cmp eax, 6
je 0x14003cba9
cmp eax, 0xa
je 0x14003cba9
cmp eax, 5
jne 0x14003cece
mov eax, r12d
lea rcx, [rax + rax*4]
add rcx, rcx
lea r12, [r14 + rcx*8 + 8]
mov rdx, r13
mov rcx, qword [r12]
call fcn.140021fe0
test eax, eax
jne 0x14003cece
mov ebx, r15d
jmp 0x14003cdce
mov eax, r12d
lea rsi, [rax + rax*4]
shl rsi, 4
add rsi, r14
lea r12, [rsi + 8]
mov rdx, r13
mov rcx, qword [r12]
call fcn.140021fe0
test eax, eax
jne 0x14003cece
lea rdx, [rsp + 0x730]
mov rcx, rsi
call fcn.140029fe0
mov ebx, eax
mov word [rsp + 0x110], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x112]
call fcn.140080d50
xor eax, eax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov r13, qword [rsp + 0xa8]
cmp dword [r13 + 0xdf4], eax
je 0x14003cc88
lea rcx, str.SPOOLER
call fcn.140016250
lea rcx, str.SPOOLER
call fcn.140021630
call fcn.1400176c0
xor ecx, ecx
cmp eax, 0xb
sete cl
mov dword [r13 + 0xdf4], ecx
lea rcx, [rsp + 0xc8]
call fcn.1400123f0
lea r11, [rsp + 0xc8]
mov qword [rsp + 0x20], r11
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x110]
mov rcx, qword [r12]
call fcn.140038fd0
call fcn.140023990
test eax, eax
je 0x14003ccb4
sub eax, 1
je 0x14003ccbe
cmp eax, 1
je 0x14003cca7
mov eax, dword [rsi]
mov qword [rsp + 0x98], rax
jmp 0x14003ccbe
mov dword [rsp + 0x98], 5
jmp 0x14003ccbe
mov eax, dword [rsi]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xf60]
mov qword [rsp + 0x20], rax
mov r9d, dword [r13 + 0xba8]
mov r8, qword [r12]
mov edx, dword [rsp + 0x98]
lea rcx, [r13 + 0xb90]
call fcn.140060e50
xor ecx, ecx
test eax, eax
sete cl
mov dword [rsp + 0x68], ecx
test ecx, ecx
je 0x14003cd2f
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [0x1400a4510]
mov r8d, r15d
lea rdx, [rsp + 0x110]
lea rcx, [0x1400a4510]
call fcn.140038fd0
mov ecx, dword [rsp + 0x68]
cmp ecx, 1
jne 0x14003cd6d
cmp edi, 0xa
jne 0x14003cd4d
lea rcx, [r13 + 0x6a8]
mov r8, qword [r12]
mov rdx, qword [rcx + 0x10]
call fcn.140068584
test ebx, ebx
jne 0x14003cd6d
xor r8d, r8d
mov rdx, qword [rsi + 0x40]
lea rcx, [rsp + 0x730]
call fcn.1400224c0
mov dword [rsp + 0x84], r15d
mov ebx, r15d
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14003cdce
mov rsi, qword [rsp + 0xd8]
cmp rcx, rsi
je 0x14003cdc9
lea rdi, [rcx + 0x20]
nop
cmp qword [rdi], 8
jb 0x14003cd9f
mov rcx, qword [rdi - 0x18]
call fcn.140067524
mov qword [rdi], 7
mov qword [rdi - 8], 0
mov word [rdi - 0x18], 0
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rsi
jne 0x14003cd90
mov rcx, qword [rsp + 0xd0]
call fcn.140067524
xor edx, edx
mov rcx, qword [r12]
call fcn.140019190
test eax, eax
je 0x14003ce2c
call fcn.14001b2d0
mov qword [rsp + 0xc0], 0
lea rax, [rsp + 0xc0]
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 0x14003ce2c
xor ebx, ebx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140019b50
test eax, eax
je 0x14003ced1
call fcn.14001ee00
mov qword [rsp + 0xb0], 0
mov word [rsp + 0x940], 0
xor edx, edx
mov r8d, 0x616
lea rcx, [rsp + 0x942]
call fcn.140080d50
lea r9, str.DIASUser
lea r8, str.SOFTWARECanonDIASSETUP
lea rdx, [0x1400a3e08]
lea rcx, [rsp + 0x940]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x20], rdx
mov r9d, 0x2011f
xor r8d, r8d
lea rdx, [rsp + 0x940]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003ced1
xor r15d, r15d
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003ced1
mov ebx, r15d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x84], 0
je 0x14003cefc
lea rcx, str.SPOOLER
call fcn.140016250
lea rcx, str.SPOOLER
call fcn.140021630
mov rdi, qword [rsp + 0x90]
add rdi, 0xffffffffffffffe8
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x14003cf29
cmp rax, qword [rdi]
jne 0x14003cf29
mov rsi, rdi
lock add dword [rdi + 0x10], 1
jmp 0x14003cf68
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rsi, rax
test rax, rax
jne 0x14003cf45
call fcn.1400019f0
int3
mov eax, dword [rdi + 8]
mov dword [rsi + 8], eax
mov eax, dword [rdi + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [rdi + 0x18]
add rdx, rdx
lea rcx, [rsi + 0x18]
call fcn.140080540
lea rax, [rsi + 0x18]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xb8]
call fcn.140025ad0
cmp dword [rsp + 0x78], 1
jne 0x14003cfaf
lea rcx, [rsp + 0x1780]
call fcn.140022c30
cmp eax, 1
jne 0x14003cfaf
lea rdx, [rsp + 0x1780]
mov rcx, qword [rsp + 0xf0]
call fcn.1400609f0
cmp dword [rsp + 0x68], 0
je 0x14003d07e
test ebx, ebx
je 0x14003d07e
test r15d, r15d
je 0x14003d07e
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003cfec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003d00d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003d02e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003d04f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [rdi + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14003d068
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x40]
call fcn.140018910
mov eax, dword [rsp + 0x80]
jmp 0x14003d12a
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003d09f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003d0c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003d0e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003d102
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [rdi + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14003d11b
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x40]
call fcn.140018910
mov eax, 5
mov rcx, qword [rsp + 0x3fe0]
xor rcx, rsp
call fcn.140081050
mov rbx, qword [rsp + 0x4040]
add rsp, 0x3ff0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret