Function at 0x443a20
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push 0x838
mov eax, 0x5b1a9e
call fcn.0058f792
mov edi, ecx
mov dword [ebp - 0x844], edi
push 7
pop ecx
xor ebx, ebx
mov dword [ebp - 0x53c], ecx
xor eax, eax
mov dword [ebp - 0x540], ebx
mov word [ebp - 0x550], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x440], ebx
mov word [ebp - 0x450], ax
mov dword [ebp - 0x4b4], ecx
mov dword [ebp - 0x4b8], ebx
mov word [ebp - 0x4c8], ax
mov byte [ebp - 4], 2
call fcn.00474a71
push ebx
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.0040c0c1
mov esi, eax
cmp word [esi], bx
jne 0x443a9d
mov eax, ebx
jmp 0x443aa4
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x550]
call fcn.00404be0
call fcn.00474a71
mov ecx, dword [eax + 4]
xor eax, eax
inc eax
add ecx, 0xcc
push eax
call fcn.0040c0c1
mov esi, eax
cmp word [esi], bx
jne 0x443ad3
mov eax, ebx
jmp 0x443ada
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x4c8]
call fcn.00404be0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0x450]
call fcn.00404b26
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.0040c137
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0047026a
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
push str.strDriverStorePath___1_s__n
push str.CInstallAction::RegisterCommonInfo
push 5
call fcn.00424dad
add esp, 0x18
lea ecx, [ebp - 0x450]
cmp dword [ebp - 0x4b8], 0
je 0x443b6b
cmp dword [ebp - 0x4b4], 8
lea eax, [ebp - 0x4c8]
cmovae eax, dword [ebp - 0x4c8]
push eax
jmp 0x443b6c
push ebx
cmp dword [ebp - 0x43c], 8
mov eax, dword [ebp - 0x440]
cmovae ecx, dword [ebp - 0x450]
inc eax
push eax
push ecx
call fcn.0040a392
xor eax, eax
mov dword [ebp - 0x424], 7
add esp, 0xc
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionUninstall
mov byte [ebp - 4], 3
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404be0
mov esi, 0x5c4f0c
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404a83
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.004153f8
mov esi, eax
cmp word [esi], bx
jne 0x443bf8
mov eax, ebx
jmp 0x443bff
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404a83
mov esi, str.Shortcut
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404a83
call fcn.00474a71
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.0040c19b
push eax
push str.Programs
lea ecx, [edi + 0x40]
call fcn.0046a4c7
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
lea ecx, [edi + 0x40]
cmovae eax, dword [ebp - 0x438]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0046a5be
xor edi, edi
mov byte [ebp - 4], 2
xor esi, esi
lea ecx, [ebp - 0x438]
push edi
inc esi
push esi
call fcn.00404970
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.004159d6
test eax, eax
je 0x444126
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x49c], ebx
mov dword [ebp - 0x4a0], edi
mov word [ebp - 0x4b0], ax
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x428], edi
mov word [ebp - 0x438], ax
mov dword [ebp - 0x484], ebx
mov dword [ebp - 0x488], edi
mov word [ebp - 0x498], ax
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 6
call fcn.004365c4
mov byte [ebp - 4], bl
mov ebx, esi
mov esi, edi
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.0040c263
push eax
lea ecx, [ebp - 0x840]
call fcn.004366a9
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.004141ee
mov edi, eax
xor eax, eax
cmp word [edi], ax
je 0x443d2f
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x498]
call fcn.00404be0
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.0041044e
mov edi, eax
xor eax, eax
cmp word [edi], ax
je 0x443d5f
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x4b0]
call fcn.00404be0
cmp dword [ebp - 0x43c], 8
lea edi, [ebp - 0x450]
cmovae edi, dword [ebp - 0x450]
xor eax, eax
cmp word [edi], ax
je 0x443d8e
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x438]
call fcn.00404be0
mov edi, 0x5c4f0c
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x438]
call fcn.00404a83
call fcn.00474a71
mov edi, 0x101
push edi
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x214]
add ecx, 0xcc
push eax
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.0041044e
push eax
call fcn.00592b69
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.00591c0a
add esp, 0x30
cmp word [ebp - 0x214], si
jne 0x443e0c
xor eax, eax
jmp 0x443e19
lea eax, [ebp - 0x214]
push eax
call fcn.0058edd4
pop ecx
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x438]
call fcn.00404a83
cmp dword [ebp - 0x49c], 8
lea eax, [ebp - 0x4b0]
mov edi, str.CInstallAction::RegisterCommonInfo
cmovae eax, dword [ebp - 0x4b0]
push eax
push str.Readme_source____1_s___n
push edi
push 4
call fcn.00424dad
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push str.Readme_target____1_s___n
push edi
push 4
call fcn.00424dad
push 1
push str.bCopyReadme
push edi
push 4
call fcn.00424d17
push 0
push str.bRegisterShortcut
push edi
push 4
call fcn.00424d17
mov edi, dword [ebp - 0x844]
add esp, 0x40
push dword [edi + 0xc]
push str._LPVOID_m_fIAOpt
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424d71
add esp, 0x10
test byte [edi + 0xc], 1
je 0x443f06
push str.Newer_driver_installed.__FORCE_THROUGH__n
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424dad
add esp, 0xc
lea eax, [ebp - 0x438]
xor ebx, ebx
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x443f06
push str.Target_Readme_has_been_found._n
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424dad
xor esi, esi
add esp, 0xc
inc esi
push ebx
push str.bCopyReadme
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424d17
push esi
push str.bRegisterShortcut
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424d17
add esp, 0x20
test ebx, ebx
je 0x443fee
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x443f75
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push 0x80
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
push 0
cmovae ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x4b0]
cmp dword [ebp - 0x49c], 8
push ecx
cmovae eax, dword [ebp - 0x4b0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x443fd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Copy_Readme_failed.__0x_1_lx___n
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424dad
push str.IDS_MSG_REGISTER_README._n
push str.CInstallAction::RegisterCommonInfo
push 2
call fcn.00424dad
add esp, 0x1c
jmp 0x443fee
call fcn.00474a71
push 1
mov eax, dword [eax + 4]
cmp dword [eax + 0x45b4], 0
pop eax
cmove esi, eax
push ebx
push str.bCopyReadme
mov ebx, str.CInstallAction::RegisterCommonInfo
push ebx
push 4
call fcn.00424d17
push esi
push str.bRegisterShortcut
push ebx
push 4
call fcn.00424d17
add esp, 0x20
test esi, esi
je 0x4440e7
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x480]
call fcn.00401bb9
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4e0]
call fcn.00401bb9
mov esi, dword [ebp - 0x470]
mov byte [ebp - 4], 9
test esi, esi
je 0x444098
cmp dword [ebp - 0x4cc], 8
lea edx, [ebp - 0x4e0]
lea ecx, [ebp - 0x480]
cmovae edx, dword [ebp - 0x4e0]
cmp dword [ebp - 0x46c], 8
cmovae ecx, dword [ebp - 0x480]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
mov eax, dword [ebp - 0x4d0]
inc eax
push eax
push edx
lea eax, [esi + 1]
push eax
push ecx
lea ecx, [edi + 0x40]
call fcn.00468b7c
jmp 0x44409e
mov eax, dword [ebp - 0x844]
test eax, eax
jne 0x4440c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Add_shortcut_failed.__0x_1_lx___n
push ebx
push 4
call fcn.00424dad
push str.IDS_MSG_REGISTER_README._n
push ebx
push 2
call fcn.00424dad
add esp, 0x1c
xor edi, edi
lea ecx, [ebp - 0x4e0]
xor esi, esi
push edi
inc esi
push esi
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x480]
call fcn.00404970
jmp 0x4440ec
xor esi, esi
xor edi, edi
inc esi
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 6
call fcn.00436650
push edi
push esi
lea ecx, [ebp - 0x498]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x438]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 2
call fcn.00404970
mov ebx, edi
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.0041405f
test eax, eax
je 0x444645
lea ecx, [ebp - 0x480]
call fcn.0046d5d4
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 0xa
call fcn.0046d5d4
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], edi
mov word [ebp - 0x438], ax
mov dword [ebp - 0x484], ecx
mov dword [ebp - 0x488], edi
mov word [ebp - 0x498], ax
mov dword [ebp - 0x4fc], ecx
mov dword [ebp - 0x500], edi
mov word [ebp - 0x510], ax
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x4a0], edi
mov word [ebp - 0x4b0], ax
mov byte [ebp - 4], 0xf
call fcn.00474a71
push 0x7c
push ebx
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.00414157
push eax
lea ecx, [ebp - 0x480]
call fcn.0046eb6a
lea ecx, [ebp - 0x480]
call fcn.0046d95f
cmp eax, 3
jb 0x444230
push 2
lea ecx, [ebp - 0x480]
call fcn.0046dbf8
mov esi, eax
push esi
push str.Condition____1_s___n
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424dad
push esi
call fcn.0041c595
add esp, 0x14
test eax, eax
jne 0x444230
push str.__Do_not_add_shortcut._n
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424dad
xor esi, esi
add esp, 0xc
xor edi, edi
inc esi
jmp 0x4445d7
lea ecx, [ebp - 0x480]
call fcn.0046d95f
lea ecx, [ebp - 0x480]
cmp eax, 2
jb 0x444287
xor eax, eax
inc eax
push eax
call fcn.0046dbf8
mov esi, eax
xor edi, edi
cmp word [esi], di
jne 0x44425c
mov eax, edi
jmp 0x444263
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404be0
push edi
lea ecx, [ebp - 0x480]
call fcn.0046dbf8
push eax
call fcn.00592a32
pop ecx
mov edi, eax
jmp 0x4442ac
xor eax, eax
push eax
call fcn.0046dbf8
mov esi, eax
xor eax, eax
cmp word [esi], ax
je 0x44429f
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404be0
dec edi
je 0x4442da
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.0040c19b
mov ecx, dword [ebp - 0x844]
push eax
push str.Programs
lea ecx, [ecx + 0x40]
call fcn.0046a4c7
xor edi, edi
jmp 0x4442f0
mov ecx, dword [ebp - 0x844]
xor edi, edi
push edi
push 0x5d98e8
lea ecx, [ecx + 0x40]
call fcn.0046a4c7
cmp dword [ebp - 0x424], 8
lea esi, [ebp - 0x438]
cmovae esi, dword [ebp - 0x438]
call fcn.00474a71
push esi
mov ecx, dword [eax + 4]
add ecx, 0xd0
call fcn.0046ed66
mov esi, eax
cmp word [esi], di
jne 0x444323
mov eax, edi
jmp 0x44432a
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00404be0
call fcn.00474a71
push 0x2c
push ebx
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.004140c0
push eax
lea ecx, [ebp - 0x4e0]
call fcn.0046eb6a
push edi
push 0x5c4f10
lea ecx, [ebp - 0x4b0]
call fcn.00404be0
lea ecx, [ebp - 0x4e0]
call fcn.0046d95f
cmp eax, 2
jb 0x4443ef
xor eax, eax
lea ecx, [ebp - 0x4e0]
inc eax
push eax
call fcn.0046dbf8
mov esi, eax
cmp word [esi], di
jne 0x444394
mov eax, edi
jmp 0x44439b
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404be0
cmp dword [ebp - 0x424], 8
lea esi, [ebp - 0x438]
cmovae esi, dword [ebp - 0x438]
call fcn.00474a71
push esi
mov ecx, dword [eax + 4]
add ecx, 0xd0
call fcn.0046ed66
mov esi, eax
cmp word [esi], di
jne 0x4443db
mov eax, edi
jmp 0x4443e2
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x4b0]
call fcn.00404be0
push edi
lea ecx, [ebp - 0x4e0]
call fcn.0046dbf8
mov esi, eax
cmp word [esi], di
jne 0x444406
mov eax, edi
jmp 0x44440d
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404be0
call fcn.00474a71
push edi
lea ecx, [ebp - 0x4e0]
mov esi, dword [eax + 4]
call fcn.0046dbf8
push eax
lea ecx, [esi + 0xd0]
call fcn.0046ed66
mov esi, eax
cmp word [esi], di
jne 0x444445
mov eax, edi
jmp 0x44444c
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x510]
call fcn.00404be0
cmp dword [ebp - 0x484], 8
lea eax, [ebp - 0x498]
mov esi, str.CInstallAction::RegisterCommonInfo
cmovae eax, dword [ebp - 0x498]
push eax
push str.Name__1_s___n
push esi
push 4
call fcn.00424dad
cmp dword [ebp - 0x4fc], 8
lea eax, [ebp - 0x510]
cmovae eax, dword [ebp - 0x510]
push eax
push str.File__1_s___n
push esi
push 4
call fcn.00424dad
cmp dword [ebp - 0x49c], 8
lea eax, [ebp - 0x4b0]
cmovae eax, dword [ebp - 0x4b0]
push eax
push str.Arg__1_s___n
push esi
push 4
call fcn.00424dad
add esp, 0x30
lea eax, [ebp - 0x498]
lea ecx, [ebp - 0x4f8]
push eax
call fcn.00401bb9
lea eax, [ebp - 0x510]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x528]
call fcn.00401bb9
lea eax, [ebp - 0x4b0]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x568]
call fcn.00401bb9
mov edi, dword [ebp - 0x4e8]
mov byte [ebp - 4], 0x12
test edi, edi
je 0x4445ab
cmp dword [ebp - 0x554], 8
lea esi, [ebp - 0x568]
lea edx, [ebp - 0x528]
cmovae esi, dword [ebp - 0x568]
lea ecx, [ebp - 0x4f8]
cmp dword [ebp - 0x514], 8
cmovae edx, dword [ebp - 0x528]
cmp dword [ebp - 0x4e4], 8
cmovae ecx, dword [ebp - 0x4f8]
xor eax, eax
push eax
push eax
push eax
push eax
mov eax, dword [ebp - 0x558]
inc eax
push eax
mov eax, dword [ebp - 0x518]
push esi
inc eax
push eax
push edx
lea eax, [edi + 1]
push eax
push ecx
mov ecx, dword [ebp - 0x844]
lea ecx, [ecx + 0x40]
call fcn.00468b7c
test eax, eax
jne 0x4445ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Add_shortcut_failed.__0x_1_lx___n
mov esi, str.CInstallAction::RegisterCommonInfo
push esi
push 4
call fcn.00424dad
push str.IDS_STATUS_FINISH_ERROR._n
push esi
push 2
call fcn.00424dad
add esp, 0x1c
xor edi, edi
lea ecx, [ebp - 0x568]
xor esi, esi
push edi
inc esi
push esi
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x528]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x4f8]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x4b0]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x510]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x498]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x438]
call fcn.00404970
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 0xa
call fcn.0046d690
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 2
call fcn.0046d690
inc ebx
call fcn.00474a71
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.0041405f
cmp ebx, eax
jb 0x444143
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.00415a1f
test eax, eax
je 0x444d17
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.00415ae8
test eax, eax
je 0x444d17
call fcn.00474a71
push edi
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.00415a68
test eax, eax
je 0x444d17
call fcn.00474a71
mov eax, dword [eax + 4]
cmp dword [eax + 0x3b8], 0
je 0x444d17
lea ecx, [ebp - 0x538]
call fcn.00463f29
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0x13
call fcn.0046d5d4
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0x14
call fcn.004365c4
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x458], edi
mov word [ebp - 0x468], ax
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], edi
mov word [ebp - 0x438], ax
mov dword [ebp - 0x484], ecx
mov dword [ebp - 0x488], edi
mov word [ebp - 0x498], ax
mov byte [ebp - 4], 0x18
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.0040c263
push eax
lea ecx, [ebp - 0x840]
call fcn.004366a9
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.00415823
test eax, eax
je 0x4447a5
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.00415823
push eax
lea ecx, [ebp - 0x4f8]
call fcn.00401c0c
push 8
pop ebx
cmp dword [ebp - 0x4e4], ebx
lea eax, [ebp - 0x4f8]
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0x19
cmovae eax, dword [ebp - 0x4f8]
push eax
call fcn.004366a9
push edi
push esi
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 0x18
call fcn.00404970
jmp 0x4447a8
push 8
pop ebx
call fcn.00474a71
push esi
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.00415887
mov esi, eax
cmp word [esi], di
jne 0x4447c7
mov eax, edi
jmp 0x4447ce
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404be0
cmp dword [ebp - 0x424], ebx
lea esi, [ebp - 0x438]
cmovae esi, dword [ebp - 0x438]
call fcn.00474a71
push esi
mov ecx, dword [eax + 4]
add ecx, 0xd0
call fcn.0046ed66
mov esi, eax
cmp word [esi], di
jne 0x44480d
mov eax, edi
jmp 0x444814
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x4c8]
call fcn.00404be0
call fcn.00474a71
push edi
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.00415887
mov esi, eax
cmp word [esi], di
jne 0x444840
mov eax, edi
jmp 0x444847
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404be0
cmp dword [ebp - 0x424], ebx
lea esi, [ebp - 0x438]
cmovae esi, dword [ebp - 0x438]
call fcn.00474a71
push esi
mov ecx, dword [eax + 4]
add ecx, 0xd0
call fcn.0046ed66
mov esi, eax
cmp word [esi], di
jne 0x444886
mov eax, edi
jmp 0x44488d
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x450]
call fcn.00404be0
cmp dword [ebp - 0x43c], ebx
lea eax, [ebp - 0x450]
mov esi, str.CInstallAction::RegisterCommonInfo
cmovae eax, dword [ebp - 0x450]
push eax
push str.WebSupportTarget_Root____1_s__n
push esi
push 5
call fcn.00424dad
cmp dword [ebp - 0x4b4], ebx
lea eax, [ebp - 0x4c8]
cmovae eax, dword [ebp - 0x4c8]
push eax
push str.WebSupportTarget_Hidden____1_s__n
push esi
push 5
call fcn.00424dad
add esp, 0x20
call fcn.00474a71
push 0x2c
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.004157bf
push eax
lea ecx, [ebp - 0x480]
call fcn.0046eb6a
lea ecx, [ebp - 0x480]
call fcn.0046d95f
test eax, eax
je 0x444cb5
push edi
lea ecx, [ebp - 0x480]
call fcn.0046dbf8
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x444cb3
cmp dword [ebp - 0x4b8], 0
lea ecx, [ebp - 0x450]
je 0x44497b
cmp dword [ebp - 0x4b4], ebx
lea eax, [ebp - 0x4c8]
cmovae eax, dword [ebp - 0x4c8]
cmp dword [ebp - 0x43c], ebx
push eax
mov eax, dword [ebp - 0x440]
cmovae ecx, dword [ebp - 0x450]
inc eax
push eax
push ecx
call fcn.0040a392
add esp, 0xc
xor ebx, ebx
jmp 0x44499c
cmp dword [ebp - 0x43c], ebx
mov eax, dword [ebp - 0x440]
cmovae ecx, dword [ebp - 0x450]
xor ebx, ebx
push ebx
inc eax
push eax
push ecx
call fcn.0040a392
add esp, 0xc
lea ecx, [ebp - 0x480]
mov esi, ebx
call fcn.0046d95f
test eax, eax
je 0x444add
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x468]
call fcn.00404b26
mov ecx, 0x104
lea eax, [ebp - 0x218]
push ecx
push eax
push ecx
lea eax, [ebp - 0x420]
push eax
push ebx
push ebx
push ebx
push ebx
push esi
lea ecx, [ebp - 0x480]
call fcn.0046dbf8
push eax
call fcn.00592b69
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00591c0a
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0047026a
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
push str.WebSupport_Files__1_s__n
push str.CInstallAction::RegisterCommonInfo
push 5
call fcn.00424dad
add esp, 0x48
lea eax, [ebp - 0x468]
cmp dword [ebp - 0x454], 8
cmovae eax, dword [ebp - 0x468]
push eax
call edi
cmp eax, 0xffffffff
je 0x444a81
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
push 0x80
cmovae eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
push ebx
cmovae eax, dword [ebp - 0x468]
lea ecx, [ebp - 0x480]
push eax
push esi
call fcn.0046dbf8
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x444ac9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Copy_WebSupport_failed.__0x_1_lx___n
push str.CInstallAction::RegisterCommonInfo
push 4
call fcn.00424dad
add esp, 0x10
lea ecx, [ebp - 0x480]
inc esi
call fcn.0046d95f
cmp esi, eax
jb 0x4449b1
mov esi, str.SoftwareCanonSMOptionPrinterDevice
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00404be0
call fcn.00474a71
push str.___NAME_PRINTERDRIVER___
mov ecx, dword [eax + 4]
add ecx, 0xd0
call fcn.0046ed66
mov esi, eax
xor edi, edi
cmp word [esi], di
jne 0x444b1b
mov eax, edi
jmp 0x444b22
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x468]
call fcn.00404be0
push 8
pop ebx
cmp dword [ebp - 0x454], ebx
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0047026a
cmp dword [ebp - 0x424], ebx
lea eax, [ebp - 0x438]
pop ecx
cmovae eax, dword [ebp - 0x438]
mov esi, 0x2000000
pop ecx
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x538]
call fcn.004643e8
test eax, eax
jne 0x444bca
push esi
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x538]
call fcn.004643e8
test eax, eax
je 0x444bca
cmp dword [ebp - 0x424], ebx
lea ecx, [ebp - 0x438]
mov eax, dword [ebp - 0x428]
cmovae ecx, dword [ebp - 0x438]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x538]
call fcn.00464030
lea ecx, [ebp - 0x538]
call fcn.00464018
cmp dword [ebp - 0x424], ebx
lea eax, [ebp - 0x438]
push esi
cmovae eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x538]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004643e8
test eax, eax
je 0x444cb5
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x468]
call fcn.00404b26
push edi
lea ecx, [ebp - 0x480]
call fcn.0046dbf8
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0047026a
cmp dword [ebp - 0x454], ebx
mov eax, dword [ebp - 0x458]
pop ecx
pop ecx
inc eax
lea ecx, [ebp - 0x468]
cmovae ecx, dword [ebp - 0x468]
push eax
push ecx
push str.Path
lea ecx, [ebp - 0x538]
call fcn.0046443c
call fcn.00474a71
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.004158fd
mov esi, eax
cmp word [esi], di
jne 0x444c71
mov eax, edi
jmp 0x444c78
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x498]
call fcn.00404be0
cmp dword [ebp - 0x484], ebx
lea ecx, [ebp - 0x498]
mov eax, dword [ebp - 0x488]
cmovae ecx, dword [ebp - 0x498]
inc eax
push eax
push ecx
push 0x5c7250
lea ecx, [ebp - 0x538]
call fcn.0046443c
jmp 0x444cb5
xor edi, edi
lea ecx, [ebp - 0x840]
call fcn.00437089
xor esi, esi
lea ecx, [ebp - 0x498]
push edi
inc esi
push esi
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x438]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x468]
call fcn.00404970
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0x14
call fcn.00436650
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0x13
call fcn.0046d690
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], 2
call fcn.00463f77
call fcn.00474a71
mov eax, dword [eax + 4]
cmp dword [eax + 0x45b4], edi
jne 0x444d4b
mov ecx, dword [ebp - 0x844]
push edi
call fcn.00444d7a
test eax, eax
jne 0x444d4b
push str.IDS_MSG_REGISTER_UNINSTALLER._n
push str.CInstallAction::RegisterCommonInfo
push 2
call fcn.00424dad
add esp, 0xc
push edi
push esi
lea ecx, [ebp - 0x4c8]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x450]
call fcn.00404970
push edi
push esi
lea ecx, [ebp - 0x550]
call fcn.00404970
mov eax, esi
call fcn.0058f741
ret