Function at 0x411c6d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [edi + 8]
call fcn.00415a44
push eax
push dword [ebp + 0x18]
push dword [edi + 0x50]
push 0x20000172
push 3
call fcn.004072c6
add esp, 0x14
test byte [ebp + 0x18], 1
je 0x411cd6
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
push dword [edi + 0x10]
push dword [edi + 0x48]
push dword [edi]
call fcn.0041b931
mov esi, eax
test esi, esi
jns 0x411cd6
push dword [ebp + 8]
push str.Failed_to_cache_bundle_from_path:__ls
push esi
call fcn.004453e7
add esp, 0xc
jmp 0x41224c
lea eax, [ebp - 4]
push eax
push 0x20006
push dword [edi + 0x50]
push dword [edi + 0x4c]
call fcn.00405461
mov esi, eax
test esi, esi
jns 0x411d02
push str.Failed_to_create_registration_key.
push esi
call fcn.004453e7
pop ecx
pop ecx
jmp 0x41224c
test byte [ebp + 0x18], 2
push ebx
je 0x4121c0
push dword [edi + 0x54]
mov ebx, str.BundleCachePath
push ebx
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
js 0x412201
push dword [edi + 0x24]
mov ebx, str.BundleUpgradeCode
push dword [edi + 0x20]
push ebx
push dword [ebp - 4]
call fcn.00405e38
mov esi, eax
test esi, esi
js 0x412201
push dword [edi + 0x2c]
mov ebx, str.BundleAddonCode
push dword [edi + 0x28]
push ebx
push dword [ebp - 4]
call fcn.00405e38
mov esi, eax
test esi, esi
js 0x412201
push dword [edi + 0x1c]
mov ebx, str.BundleDetectCode
push dword [edi + 0x18]
push ebx
push dword [ebp - 4]
call fcn.00405e38
mov esi, eax
test esi, esi
js 0x412201
push dword [edi + 0x34]
mov ebx, str.BundlePatchCode
push dword [edi + 0x30]
push ebx
push dword [ebp - 4]
call fcn.00405e38
mov esi, eax
test esi, esi
js 0x412201
mov ecx, dword [edi + 0x38]
mov ebx, str.BundleVersion
mov edx, dword [edi + 0x3c]
movzx eax, cx
push eax
mov eax, edx
shrd ecx, eax, 0x10
movzx eax, cx
push eax
movzx eax, dx
push eax
shr edx, 0x10
push edx
push str._hu._hu._hu._hu
push ebx
push dword [ebp - 4]
call fcn.00405f6d
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x412201
movzx eax, word [edi + 0x3e]
mov ebx, str.VersionMajor
push eax
push ebx
push dword [ebp - 4]
call fcn.00405d42
mov esi, eax
test esi, esi
js 0x412201
mov eax, dword [edi + 0x38]
mov cl, 0x20
mov edx, dword [edi + 0x3c]
call fcn.00430380
movzx eax, ax
mov ebx, str.VersionMinor
push eax
push ebx
push dword [ebp - 4]
call fcn.00405d42
mov esi, eax
test esi, esi
js 0x412201
cmp dword [edi + 0x44], 0
je 0x411e43
push dword [edi + 0x44]
mov ebx, str.BundleProviderKey
push ebx
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
js 0x412201
cmp dword [edi + 0x14], 0
je 0x411e64
push dword [edi + 0x14]
mov ebx, str.BundleTag
push ebx
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
js 0x412201
push str.3.14.1.8722
push 0x454c80
mov ebx, str.EngineVersion
push ebx
push dword [ebp - 4]
call fcn.00405f6d
mov esi, eax
add esp, 0x10
test esi, esi
js 0x412201
push dword [edi + 0x54]
mov ebx, str.DisplayIcon
push str._s_0
push ebx
push dword [ebp - 4]
call fcn.00405f6d
mov esi, eax
add esp, 0x10
test esi, esi
js 0x412201
push dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
push ebx
push edi
call fcn.00410e93
mov esi, eax
test esi, esi
jns 0x411ec9
push str.Failed_to_update_name_and_publisher.
jmp 0x412243
cmp dword [edi + 0x64], 0
je 0x411eef
push dword [edi + 0x64]
push str.DisplayVersion
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x411eef
push str.DisplayVersion
jmp 0x412202
lea eax, [ebp - 8]
push eax
push ebx
push edi
call fcn.00410663
test eax, eax
mov eax, dword [ebp - 8]
jns 0x411f04
mov eax, dword [edi + 0x68]
push eax
push str.Publisher
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x411f22
push str.Publisher
jmp 0x412202
cmp dword [edi + 0x6c], 0
je 0x411f48
push dword [edi + 0x6c]
push str.HelpLink
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x411f48
push str.HelpLink
jmp 0x412202
cmp dword [edi + 0x70], 0
je 0x411f6e
push dword [edi + 0x70]
push str.HelpTelephone
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x411f6e
push str.HelpTelephone
jmp 0x412202
cmp dword [edi + 0x74], 0
je 0x411f94
push dword [edi + 0x74]
push str.URLInfoAbout
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x411f94
push str.URLInfoAbout
jmp 0x412202
cmp dword [edi + 0x78], 0
je 0x411fba
push dword [edi + 0x78]
push str.URLUpdateInfo
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x411fba
push str.URLUpdateInfo
jmp 0x412202
cmp dword [edi + 0x7c], 0
je 0x412000
push dword [edi + 0x7c]
push str.ParentDisplayName
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x411fe0
push str.ParentDisplayName
jmp 0x412202
push dword [edi + 0x7c]
push str.ParentKeyName
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x412000
push str.ParentKeyName
jmp 0x412202
mov eax, dword [edi + 0x80]
test eax, eax
je 0x412028
push eax
push str.Comments
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x412028
push str.Comments
jmp 0x412202
mov eax, dword [edi + 0x84]
test eax, eax
je 0x412050
push eax
push str.Contact
push dword [ebp - 4]
call fcn.00405d90
mov esi, eax
test esi, esi
jns 0x412050
push str.Contact
jmp 0x412202
mov eax, dword [edi + 0x88]
cmp eax, 1
jne 0x412079
push eax
push str.NoModify
push dword [ebp - 4]
call fcn.00405d42
mov esi, eax
test esi, esi
jns 0x4120c5
push str.NoModify
jmp 0x412202
cmp eax, 2
je 0x4120c5
push dword [edi + 0x54]
push str.__ls___modify
push str.ModifyPath
push dword [ebp - 4]
call fcn.00405f6d
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x4120a6
push str.ModifyPath
jmp 0x412202
push 1
push str.NoElevateOnModify
push dword [ebp - 4]
call fcn.00405d42
mov esi, eax
test esi, esi
jns 0x4120c5
push str.NoElevateOnModify
jmp 0x412202
cmp dword [edi + 0x8c], 0
je 0x4120f1
push dword [edi + 0x90]
push str.NoRemove
push dword [ebp - 4]
call fcn.00405d42
mov esi, eax
test esi, esi
jns 0x4120f1
push str.NoRemove
jmp 0x412202
cmp dword [edi + 4], 0
jne 0x412116
push 1
push str.SystemComponent
push dword [ebp - 4]
call fcn.00405d42
mov esi, eax
test esi, esi
jns 0x412116
push str.SystemComponent
jmp 0x412202
push dword [edi + 0x54]
push str.__ls___uninstall__quiet
push str.QuietUninstallString
push dword [ebp - 4]
call fcn.00405f6d
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x41213e
push str.QuietUninstallString
jmp 0x412202
cmp dword [edi + 0x88], 2
mov eax, str._modify
je 0x412151
mov eax, str.__uninstall
push eax
push dword [edi + 0x54]
push str.__ls___ls
push str.UninstallString
push dword [ebp - 4]
call fcn.00405f6d
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x41217a
push str.UninstallString
jmp 0x412202
cmp dword [edi + 0x98], 0
je 0x4121a0
lea eax, [edi + 0x94]
push eax
push ebx
call fcn.00411131
mov esi, eax
test esi, esi
jns 0x4121a0
push str.Failed_to_write_software_tags.
jmp 0x412243
cmp dword [edi + 0x9c], 0
je 0x4121c0
push ebx
push edi
call fcn.00411263
mov esi, eax
test esi, esi
jns 0x4121c0
push str.Failed_to_write_update_registration.
jmp 0x412243
test byte [ebp + 0x18], 4
je 0x412212
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
shrd ecx, eax, 0xa
shr eax, 0xa
test eax, eax
jb 0x412212
ja 0x4121e1
test ecx, ecx
je 0x412212
test eax, eax
jb 0x4121ea
push 0xffffffffffffffff
pop eax
ja 0x4121ec
cmp ecx, eax
ja 0x4121ec
mov eax, ecx
push eax
mov ebx, str.EstimatedSize
push ebx
push dword [ebp - 4]
call fcn.00405d42
mov esi, eax
test esi, esi
jns 0x412212
push ebx
push str.Failed_to_write__ls_value.
push esi
call fcn.004453e7
add esp, 0xc
jmp 0x41224b
cmp dword [ebp + 0x1c], 1
jne 0x41222b
push edi
call fcn.0042a10a
mov esi, eax
test esi, esi
jns 0x41222b
push str.Failed_to_register_the_bundle_dependency_key.
jmp 0x412243
push 0
push 1
push dword [ebp - 4]
push edi
call fcn.00410ef2
mov esi, eax
test esi, esi
jns 0x41224b
push str.Failed_to_update_resume_mode.
push esi
call fcn.004453e7
pop ecx
pop ecx
pop ebx
cmp dword [ebp - 8], 0
je 0x41225a
push dword [ebp - 8]
call fcn.00403136
cmp dword [ebp - 4], 0
je 0x412269
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret 0x20