Function at 0x1400726d0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x23a0]
mov eax, 0x24a0
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x2390], rax
lea rdx, str.InstallDiasAndGetDevInfo::ProcDIASInstall
lea rcx, [rbp + 0x10]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea rdi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072768
test byte [rcx + 0x1c], 1
je 0x140072768
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x1f
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor r14d, r14d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x390]
call fcn.1401e7e40
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x100], xmm1
movups xmmword [rbp + 0x110], xmm1
movups xmmword [rbp + 0x120], xmm1
movups xmmword [rbp + 0x130], xmm1
movups xmmword [rbp + 0x140], xmm1
movups xmmword [rbp + 0x150], xmm1
movups xmmword [rbp + 0x160], xmm1
movups xmmword [rbp + 0x170], xmm1
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xb90]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1390]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1b90]
call fcn.1401e7e40
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x14007305f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov edx, 0xb7
lea rcx, [rsp + 0x50]
call fcn.1400041d0
mov rcx, qword [0x1402bbf60]
mov rax, qword [rcx]
mov edx, 0x3f1
lea r8d, [r14 + 0x32]
mov rax, qword [rax + 0x28]
call qword [case.0x1400136d6.0]
mov rcx, qword [0x1402bbf60]
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x50]
mov r8, rbx
mov edx, 0x3f1
mov rax, qword [rax + 0x38]
call qword [case.0x1400136d6.0]
mov rcx, qword [0x1402bbf60]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x3f1
mov rax, qword [rax + 0x30]
call qword [case.0x1400136d6.0]
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
lea r8, [rbp + 0x390]
lea rdx, str.TEMPPATH
mov rcx, r9
call qword [case.0x1400136d6.0]
lea rcx, [rbp + 0x390]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str.InsDrv.ini
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rbp + 0x390]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
lea r9, [rbp + 0x80]
lea r8, [0x140251dfc]
lea rdx, str.Product
lea rcx, str.Installer_Info
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp + 0x390]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
lea r9, [rbp + 0x100]
lea r8, [0x140251dfc]
lea rdx, str.Version
lea rcx, str.Installer_Info
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp + 0x390]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
lea r9, [rbp + 0x60]
lea r8, [0x1402533f8]
lea rdx, str.ServiceStart
lea rcx, str.DIAS
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x140253384]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp + 0x60]
test eax, eax
lea rdx, [0x140253384]
je 0x1400729f9
lea rdx, [0x1402533f8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
lea r8, [rbp + 0xb90]
lea rdx, str.DIASREGISTICF
mov rcx, r9
call qword [case.0x1400136d6.0]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072b51
test byte [rcx + 0x1c], 4
je 0x140072a85
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x20
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072b51
test byte [rcx + 0x1c], 4
je 0x140072acf
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x21
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072b51
test byte [rcx + 0x1c], 4
je 0x140072b12
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x22
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072b51
test byte [rcx + 0x1c], 4
je 0x140072b51
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x23
lea rax, [rbp + 0xb90]
mov qword [rsp + 0x20], rax
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rax, qword [0x1402bbfe0]
xor r9d, r9d
lea r8, [rbp + 0x180]
lea rdx, str.DIASSetup.msi
lea rcx, [0x1402bbfe0]
mov rax, qword [rax + 0x50]
call qword [case.0x1400136d6.0]
mov esi, eax
test eax, eax
jne 0x140072f2b
lea rcx, [rbp + 0x180]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140072f2b
lea rax, [rbp + 0xb90]
mov qword [rsp + 0x48], rax
lea rax, [0x140257520]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [0x140257648]
mov qword [rsp + 0x20], rax
lea r9, [0x140252f48]
lea r8, str.ALLUSERS_s_ADDLOCAL_s_V1__s__V2_s_V5_s_REBOOT_s_V7_s
mov edx, 0x400
lea rcx, [rbp + 0x1b90]
call fcn.14002fb20
mov rcx, qword [0x1402bbf60]
mov rax, qword [rcx]
mov edx, 0x3f1
lea r8d, [rsi + 0x19]
mov rax, qword [rax + 0x30]
call qword [case.0x1400136d6.0]
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.msi.dll_MsiSetPropertyW]
test eax, eax
je 0x140072f2b
lea rdx, [rbp + 0x1b90]
lea rcx, [rbp + 0x180]
call qword [sym.imp.msi.dll_MsiOpenDatabaseW]
test eax, eax
jne 0x140072f2b
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
lea r8, [rbp + 0x1390]
lea rdx, str.DIASREGISTVERSION
mov rcx, r9
call qword [case.0x1400136d6.0]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072cc2
test byte [rcx + 0x1c], 4
je 0x140072cc2
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rsi + 0x24]
lea rax, [rbp + 0x1390]
mov qword [rsp + 0x20], rax
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rdx, [0x140257508]
lea rcx, [rbp + 0x1390]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140072e18
lea rcx, [rsp + 0x70]
call fcn.1400079d0
nop
lea rcx, [rsp + 0x70]
call fcn.140007b00
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWARECanonDIASSETUP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140072e0e
mov qword [rsp + 0x58], r14
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, str.DIASDone
lea rcx, [rsp + 0x70]
call fcn.140007cf0
test eax, eax
jne 0x140072e0e
lea r14d, [rax + 1]
mov r15, qword [rsp + 0x58]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072d8e
test byte [rcx + 0x1c], 4
je 0x140072d8e
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x25]
mov qword [rsp + 0x20], r15
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rdx, str.Reboot
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140072de1
lea rdx, [0x1402533f8]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140072e0e
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov edx, 0xb9
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov esi, 0x80010028
mov dword [0x1402bbd98], 0x28
jmp 0x140072e0e
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov rcx, qword [rax + 8]
add rcx, 0x6814
lea rdx, [0x140252f48]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
lea rcx, [rsp + 0x70]
jmp 0x140072ece
lea rcx, [rbp - 0x40]
call fcn.1400079d0
nop
lea rcx, [rbp - 0x40]
call fcn.140007b00
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWARECanonDIASSETUPDIASUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140072eca
mov qword [rsp + 0x60], r14
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x40]
call fcn.140007cf0
test eax, eax
jne 0x140072eca
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072ec4
test byte [rcx + 0x1c], 4
je 0x140072ec4
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x26]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.14002fbe0
mov r14d, 1
lea rcx, [rbp - 0x40]
call fcn.140007a90
test r14d, r14d
jne 0x140072f02
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov edx, 0xb8
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov esi, 0x80010028
mov dword [0x1402bbd98], 0x28
jmp 0x140072f53
lfence
mov rcx, qword [0x1402bbf60]
mov rax, qword [rcx]
mov edx, 0x3f1
mov r8d, 0x19
mov rax, qword [rax + 0x30]
call qword [case.0x1400136d6.0]
mov rbx, qword [rsp + 0x50]
jmp 0x140072f53
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov edx, 0xb8
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov esi, 0x80010051
mov dword [0x1402bbd98], 0x51
mov byte [rbp + 0x18], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140072f96
test byte [rcx + 0x1c], 1
je 0x140072f96
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x27
mov dword [rsp + 0x20], esi
lea r8, [0x1402576e8]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140072fbd
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
nop
lea rax, vtable.WppTrace.0
mov qword [rbp + 0x10], rax
cmp byte [rbp + 0x18], 0
jne 0x14007301b
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x14007301b
test byte [rcx + 0x1c], 1
je 0x14007301b
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rax, qword [rbp + 0x20]
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp + 0x40]
call fcn.1400048a0
lea rcx, [rbp + 0x20]
call fcn.1400048a0
xor eax, eax
mov rcx, qword [rbp + 0x2390]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x24a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
int3