Function at 0x1400d6bb0
Capabilities:
Copy file
Get common file path
Set file attributes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e20]
mov eax, 0x1f20
call fcn.14024c240
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1f50], rbx
mov qword [rsp + 0x1f60], rsi
mov qword [rsp + 0x1f68], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x1e10], rax
mov r15, rdx
xor r8d, r8d
lea rdx, str.CBaseOSSpecTypeWin2K::CopyMonitorFile
lea rcx, [rsp + 0x60]
call fcn.1400075a0
nop
call fcn.140102a14
mov rdx, rax
xor ebx, ebx
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400d6c39
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.140102a14
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400d6c6a
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x30], ebx
mov word [rbp + 0x5e0], bx
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rsi, qword [rax]
lea r8, [rbp + 0x5e0]
lea rdx, str.USEMONITORFILE
mov rcx, rax
call qword [rsi + 0x18]
lea r9, [rbp + 0x5e0]
lea r8, str._t_t_tUSEMONITORFILE_s_
mov edx, 7
lea rcx, [rsp + 0x60]
call fcn.140007780
cmp word [rbp + 0x5e0], 0
jne 0x1400d6d34
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x60]
call fcn.140007780
nop
lea rdx, [rdi - 0x18]
or r12, 0xffffffffffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d6d0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x1400d6d2f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400d78ff
mov ecx, 1
call fcn.1401027e8
test rax, rax
je 0x1400d6d56
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140005b00
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.140102a14
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400d6d84
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x40]
lea r14, [rbp - 0x40]
shr r14, 0x10
or r12, 0xffffffffffffffff
test r14, r14
jne 0x1400d6dd3
movzx edi, ax
mov ecx, edi
call fcn.1401027e8
test rax, rax
je 0x1400d6eca
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140005b00
jmp 0x1400d6eca
xor eax, eax
mov rcx, r12
lea rdi, [rbp - 0x40]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x1400d6e4a
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400d6eca
cmp dword [rdx + 0x10], eax
jge 0x1400d6e1c
cmp dword [rsi - 0xc], eax
jge 0x1400d6e11
mov ecx, 0x80070057
call fcn.140005210
int3
mov dword [rsi - 0x10], ebx
mov word [rsi], bx
jmp 0x1400d6eca
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d6e33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
jmp 0x1400d6eca
mov r13d, dword [rsi - 0x10]
lea rbx, [rbp - 0x40]
sub rbx, rsi
sar rbx, 1
test ecx, ecx
jns 0x1400d6e67
mov ecx, 0x80070057
call fcn.140005210
int3
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400d6e89
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140005e40
mov rsi, qword [rsp + 0x28]
movsxd rax, edi
movsxd rdx, dword [rsi - 0xc]
mov rcx, rsi
add rdx, rdx
cmp rbx, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x1400d6ead
lea r8, [rsi + rbx*2]
call fcn.1402457b4
jmp 0x1400d6eb6
lea r8, [rbp - 0x40]
call fcn.1402471ac
cmp edi, dword [rsi - 0xc]
jg 0x1400d78f4
mov dword [rsi - 0x10], edi
xor ebx, ebx
mov word [r13 + rsi], bx
mov r8d, 1
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x28]
call fcn.1400475d0
nop
xor edx, edx
lea rdi, [0x1402e5094]
mov rsi, qword [rax]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x1400d6efa
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne dil
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d6f1f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400d6f3b
mov r8d, 1
lea rdx, [0x1402e5094]
lea rcx, [rsp + 0x28]
call fcn.140005f90
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [rdi + 0x238]
call fcn.140102a14
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400d6f7a
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x40]
test r14, r14
jne 0x1400d6fbd
movzx edi, ax
mov ecx, edi
call fcn.1401027e8
test rax, rax
je 0x1400d70b4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140005b00
jmp 0x1400d70b4
xor eax, eax
mov rcx, r12
lea rdi, [rbp - 0x40]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x1400d7034
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400d70b4
cmp dword [rdx + 0x10], eax
jge 0x1400d7006
cmp dword [rsi - 0xc], eax
jge 0x1400d6ffb
mov ecx, 0x80070057
call fcn.140005210
int3
mov dword [rsi - 0x10], ebx
mov word [rsi], bx
jmp 0x1400d70b4
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d701d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
jmp 0x1400d70b4
mov r13d, dword [rsi - 0x10]
lea rbx, [rbp - 0x40]
sub rbx, rsi
sar rbx, 1
test ecx, ecx
jns 0x1400d7051
mov ecx, 0x80070057
call fcn.140005210
int3
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400d7073
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140005e40
mov rsi, qword [rsp + 0x38]
movsxd rax, edi
movsxd rdx, dword [rsi - 0xc]
mov rcx, rsi
add rdx, rdx
cmp rbx, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x1400d7097
lea r8, [rsi + rbx*2]
call fcn.1402457b4
jmp 0x1400d70a0
lea r8, [rbp - 0x40]
call fcn.1402471ac
cmp edi, dword [rsi - 0xc]
jg 0x1400d78e9
mov dword [rsi - 0x10], edi
xor ebx, ebx
mov word [r13 + rsi], bx
mov r8d, 1
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400475d0
nop
xor edx, edx
lea rdi, [0x1402e5094]
mov rsi, qword [rax]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x1400d70e4
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne dil
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7109
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400d7125
mov r8d, 1
lea rdx, [0x1402e5094]
lea rcx, [rsp + 0x38]
call fcn.140005f90
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf0]
test eax, eax
jne 0x1400d715e
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdi, qword [rax]
mov rdx, r15
mov rcx, rax
call qword [rdi + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.140005900
nop
mov r8d, 1
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.1400475d0
nop
xor edx, edx
lea rdi, [0x1402e5094]
mov rsi, qword [rax]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x1400d719d
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne dil
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d71c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400d71df
mov r8d, 1
lea rdx, [0x1402e5094]
lea rcx, [rsp + 0x48]
call fcn.140005f90
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.140102a14
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400d720c
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x20], rsi
lea rcx, [rbp + 0x5e0]
lea rax, [rbp + 0x5e0]
test rax, 0xffffffffffff0000
jne 0x1400d7261
movzx edi, cx
mov ecx, edi
call fcn.1401027e8
test rax, rax
je 0x1400d7361
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140005b00
mov rsi, qword [rsp + 0x20]
jmp 0x1400d7361
xor eax, eax
mov rcx, r12
lea rdi, [rbp + 0x5e0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x1400d72db
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400d7361
cmp dword [rdx + 0x10], eax
jge 0x1400d72ad
cmp dword [rsi - 0xc], eax
jge 0x1400d72a2
mov ecx, 0x80070057
call fcn.140005210
int3
mov dword [rsi - 0x10], ebx
mov word [rsi], bx
jmp 0x1400d7361
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d72c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x20], rsi
jmp 0x1400d7361
mov r13d, dword [rsi - 0x10]
lea rbx, [rbp + 0x5e0]
sub rbx, rsi
sar rbx, 1
test ecx, ecx
jns 0x1400d72fb
mov ecx, 0x80070057
call fcn.140005210
int3
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400d731d
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140005e40
mov rsi, qword [rsp + 0x20]
movsxd rax, edi
movsxd rdx, dword [rsi - 0xc]
mov rcx, rsi
add rdx, rdx
cmp rbx, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x1400d7341
lea r8, [rsi + rbx*2]
call fcn.1402457b4
jmp 0x1400d734d
lea r8, [rbp + 0x5e0]
call fcn.1402471ac
cmp edi, dword [rsi - 0xc]
jg 0x1400d78de
mov dword [rsi - 0x10], edi
xor ebx, ebx
mov word [r13 + rsi], bx
lea r14, [rsi - 0x10]
mov eax, dword [r14]
mov r15d, dword [rsp + 0x30]
test eax, eax
jle 0x1400d777b
test ebx, ebx
js 0x1400d777b
cmp ebx, eax
jge 0x1400d777b
mov edx, gethostbyaddr
movsxd rax, ebx
lea rcx, [rsi + rax*2]
call fcn.140247344
mov r13, rax
test rax, rax
je 0x1400d777b
sub r13, rsi
sar r13, 1
test r13d, r13d
js 0x1400d777b
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140006190
add rax, 0x18
mov qword [rsp + 0x58], rax
mov esi, r13d
sub esi, ebx
mov r9d, esi
mov r8d, ebx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x20]
call fcn.14000d690
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140005f90
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7413
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
call fcn.140006190
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r9d, esi
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.14000d690
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005f90
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7470
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp + 0xde0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp + 0x11f4]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [rbp + 0x1d0], ax
mov word [rbp + 0x3d8], ax
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov r9d, 1
lea r8, [rbp + 0x1d0]
lea rdx, [rbp + 0xde0]
call qword [rax + 0x98]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov r9d, 1
lea r8, [rbp + 0x3d8]
lea rdx, [rbp + 0x11f4]
call qword [rax + 0x98]
cmp word [rbp + 0x3d8], 0
je 0x1400d753c
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea r8, [rbp + 0x3d8]
lea rdx, [rbp + 0x1d0]
call qword [rax + 0x80]
test eax, eax
jns 0x1400d753c
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7537
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400d7747
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x1400d7564
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140005e40
mov rdi, qword [rsp + 0x50]
mov r9, rdi
lea r8, str._t_t_tdstFile_s_
mov edx, 7
lea rcx, [rsp + 0x60]
call fcn.140007780
cmp word [rbp + 0x3d8], 0
je 0x1400d75ff
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea r8, [rbp + 0x3d8]
lea rdx, [rbp + 0x1d0]
call qword [rax + 0x80]
test eax, eax
js 0x1400d75ff
test r15d, r15d
jne 0x1400d75ff
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
lea rdx, str.SPOOLER
mov rcx, rax
call qword [rdi + 0x278]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, qword [rax]
lea r8, [0x1402e0308]
lea rdx, str.FIRST_SPOOLER_STOP
mov rcx, rax
call qword [rdi + 0x20]
mov dword [rsp + 0x30], 1
mov r15d, dword [rsp + 0x30]
mov r9d, esi
mov r8d, ebx
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x20]
call fcn.14000d690
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x78]
call fcn.14003fef0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x40]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x1400d7685
cmp dword [rdi + 0x10], 0
jl 0x1400d7676
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400d7676
call fcn.140006190
mov rsi, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400d766b
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x1400d7685
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005d50
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d76a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d76c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x40]
mov r9, rdi
lea r8, str._t_t_tRead_Only_cancellation______newFile_s_
mov edx, 7
lea rcx, [rsp + 0x60]
call fcn.140007780
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebx, ebx
mov rsi, qword [rsp + 0x58]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
je 0x1400d7726
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jl 0x1400d7700
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7747
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, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7767
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea ebx, [r13 + 1]
mov eax, dword [r14]
mov rsi, qword [rsp + 0x20]
cmp ebx, eax
jl 0x1400d7375
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, qword [rax]
lea r8, [rbp + 0x1610]
lea rdx, str.FIRST_SPOOLER_STOP
mov rcx, rax
call qword [rdi + 0x18]
cmp r15d, 1
jne 0x1400d77c7
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
lea rdx, str.SPOOLER
mov rcx, rax
call qword [rdi + 0x270]
jmp 0x1400d77ff
lea rdx, [0x1402e0308]
lea rcx, [rbp + 0x1610]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400d77ff
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
lea rdx, str.Canon_Driver_Information_Assist_Service
mov rcx, rax
call qword [rdi + 0x278]
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x60]
call fcn.140007780
nop
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7837
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7858
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d7879
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d789a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400d78bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x1400d78dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400d78ff
mov ecx, 0x80070057
call fcn.140005210
nop
mov ecx, 0x80070057
call fcn.140005210
nop
mov ecx, 0x80070057
call fcn.140005210
nop
lea rcx, [rsp + 0x60]
call fcn.140007730
mov eax, 1
mov rcx, qword [rbp + 0x1e10]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x1f20]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret