Function at 0x140001170
Capabilities:
Print debug messages

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea rcx, [0x140078a80]
call fcn.140001f80
movdqa xmm0, xmmword [0x14006ce90]
lea rdx, str._nStep_1._checking_multiple_instanciation_n
mov r8d, 0x29
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14000a5a0
cmp byte [0x140078a81], 0
mov r15d, 1
je 0x140001250
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140009d00
mov r8d, r15d
lea rdx, [0x14006bbcc]
lea rcx, [rsp + 0x40]
call fcn.14000a720
cmp qword [rsp + 0x58], 0x10
lea rcx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001250
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000124b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ab3
call fcn.140013ee4
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x2c0], rbx
mov qword [rsp + 0x2d0], rdi
cmp rdx, 0x10
jb 0x14000129d
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001298
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
cmp qword [0x140078aa0], 0x10
lea rdx, [0x140078a88]
movdqa xmm0, xmmword [0x14006ce90]
mov r8, 0xffffffffffffffff
cmovae rdx, qword [0x140078a88]
mov qword [rsp + 0x2a0], r14
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
inc r8
cmp byte [rdx + r8], 0
jne 0x1400012d6
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x2c8], rsi
call fcn.14000a5a0
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x12c
call fcn.1400163a0
xor edi, edi
lea r14, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
lea rcx, str.KERNEL32.DLL
cmovae r14, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x140001336
mov edi, 0xfffe7956
jmp 0x140001436
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32First
mov rcx, rbx
mov qword [0x14007aa18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32Next
mov rcx, rbx
mov qword [0x14008ae30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14008ae30], rdi
mov qword [0x14007aa20], rax
je 0x140001436
test rax, rax
je 0x140001436
mov rax, qword [0x14007aa18]
test rax, rax
je 0x140001436
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400013bb
mov edi, 0xfffe7955
jmp 0x140001436
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x130
mov rcx, rsi
call qword [0x14008ae30]
test eax, eax
jne 0x1400013dc
mov edi, 0xfffe7954
jmp 0x140001436
lea rdx, [rbp - 0x74]
mov rcx, r14
call fcn.1400225c4
test eax, eax
lea rdx, [rsp + 0x60]
mov ebx, edi
mov rcx, rsi
cmove ebx, r15d
call qword [0x14007aa20]
test eax, eax
je 0x140001426
lea rdx, [rbp - 0x74]
mov rcx, r14
call fcn.1400225c4
test eax, eax
jne 0x140001414
inc ebx
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [0x14007aa20]
test eax, eax
jne 0x140001402
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 2
setge dil
mov rdx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x2a0]
mov rsi, qword [rsp + 0x2c8]
cmp rdx, 0x10
jb 0x140001483
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000147e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ab9
call fcn.140013ee4
movdqa xmm0, xmmword [0x14006ce90]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
movdqu xmmword [rsp + 0x30], xmm0
cmp edi, r15d
jne 0x140001502
mov r8d, 0x26
lea rdx, str.__The_program_has_been_already_running
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001a80
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014f8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
jmp 0x140001a80
test edi, edi
jns 0x140001518
mov r8d, 0x32
lea rdx, str.__Fatal_error_occurred_and_nothing_has_deleted_yet
jmp 0x140001617
mov r8d, 0x1d
lea rdx, str.__Ok._no_other_instance_found
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001571
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000156c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
movdqa xmm0, xmmword [0x14006ce90]
lea rdx, str._nStep_2._collecting_DIAS_installation_information_n
mov r8d, 0x32
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400015e2
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015dd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
lea rcx, [0x140078a80]
call fcn.140002490
movdqa xmm0, xmmword [0x14006ce90]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
movdqu xmmword [rsp + 0x30], xmm0
test al, al
jne 0x14000166a
mov r8d, 0x37
lea rdx, str.__Error_occurred_while_gathering_DIAS_installation_info
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001663
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000165e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
xor eax, eax
jmp 0x140001a83
mov r8d, 0x26
lea rdx, str._nStep_3._remove_DIAS_Service_from_SCM_n
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400016c3
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016be
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
call fcn.140008440
movdqa xmm0, xmmword [0x14006ce90]
lea rdx, str._nStep_4._remove_DIAS_Service_from_Windows_Firewall_n
mov r8d, 0x33
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001739
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001734
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
lea rcx, [0x140078aa8]
call fcn.140004d00
movdqa xmm0, xmmword [0x14006ce90]
lea rdx, str._nStep_5._stop_Spooler_Service
mov r8d, 0x1d
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400017b6
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x140001892
mov r8d, 0xf01ff
lea rdx, str.Spooler
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
mov rcx, rbx
test rax, rax
jne 0x1400017fc
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140001892
mov rdx, rdi
call fcn.1400088f0
mov rdx, rdi
mov rcx, rbx
call fcn.140008b70
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movdqa xmm0, xmmword [0x14006ce90]
lea rdx, str.Spooler
mov r8d, 7
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140003cb0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001892
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000188d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001abf
call fcn.140013ee4
movdqa xmm0, xmmword [0x14006ce90]
lea rdx, str._nStep_6._delete_DIAS_files_and_registry_n
mov r8d, 0x28
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001903
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018fe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
call fcn.1400056c0
movdqa xmm0, xmmword [0x14006ce90]
lea rdx, str._nStep_7._restart_Spooler_Service_and_dependent_services_n
mov r8d, 0x38
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001979
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001974
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
call fcn.1400048a0
movdqa xmm0, xmmword [0x14006ce90]
lea rdx, str._nEnd_of_DIAS_service_uninstallation
mov r8d, 0x24
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14000a5a0
lea rcx, [rsp + 0x20]
call fcn.140001ec0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400019ef
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019ea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001aad
call fcn.140013ee4
cmp byte [0x140078a80], 0
jne 0x140001a80
lea r8, str.Uninstallation_finished.
mov edx, 0x100
lea rcx, [rbp + 0x90]
call fcn.1400223c4
mov edx, 0x25
lea rcx, [rbp + 0x90]
call fcn.14001603c
test rax, rax
je 0x140001a67
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.1400163a0
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r8, [rsp + 0x60]
mov edx, 0x100
lea rcx, [rbp + 0x90]
call fcn.1400223c4
xor r9d, r9d
lea r8, str.Canon_Driver_Information_Assist_Service_Uninstaller
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, r15d
mov rbx, qword [rsp + 0x2c0]
mov rdi, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140013980
add rsp, 0x2a8
pop r15
pop rbp
ret
call fcn.140022b6c
int3
call fcn.140022b6c
int3
call fcn.140022b6c
int3
call fcn.140022b6c
int3