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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
test byte [ebp + 0x18], 1
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x40ae8f
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
push dword [edi + 0xc]
push dword [edi + 0x48]
push dword [edi]
call fcn.00413720
mov esi, eax
test esi, esi
jns 0x40ae8f
push dword [ebp + 8]
push str.Failed_to_cache_bundle_from_path:__ls
jmp 0x40b3ae
lea eax, [ebp - 4]
push eax
push 0x20006
push dword [edi + 0x50]
push dword [edi + 0x4c]
call fcn.00435f89
mov esi, eax
test esi, esi
jns 0x40aeb3
push str.Failed_to_create_registration_key.
jmp 0x40b3e9
test byte [ebp + 0x18], 2
je 0x40b364
push dword [edi + 0x54]
push str.BundleCachePath
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40aedd
push str.BundleCachePath
jmp 0x40b3a9
push dword [edi + 0x20]
push dword [edi + 0x1c]
push str.BundleUpgradeCode
push dword [ebp - 4]
call fcn.00436931
mov esi, eax
test esi, esi
jns 0x40af00
push str.BundleUpgradeCode
jmp 0x40b3a9
push dword [edi + 0x28]
push dword [edi + 0x24]
push str.BundleAddonCode
push dword [ebp - 4]
call fcn.00436931
mov esi, eax
test esi, esi
jns 0x40af23
push str.BundleAddonCode
jmp 0x40b3a9
push dword [edi + 0x18]
push dword [edi + 0x14]
push str.BundleDetectCode
push dword [ebp - 4]
call fcn.00436931
mov esi, eax
test esi, esi
jns 0x40af46
push str.BundleDetectCode
jmp 0x40b3a9
push dword [edi + 0x30]
push dword [edi + 0x2c]
push str.BundlePatchCode
push dword [ebp - 4]
call fcn.00436931
mov esi, eax
test esi, esi
jns 0x40af69
push str.BundlePatchCode
jmp 0x40b3a9
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
movzx eax, cx
push eax
mov eax, edx
mov dword [ebp - 0xc], edx
shrd ecx, eax, 0x10
shr eax, 0x10
movzx eax, cx
push eax
movzx eax, dx
push eax
shr edx, 0x10
push edx
push str._hu._hu._hu._hu
push str.BundleVersion
push dword [ebp - 4]
call fcn.00436a69
mov esi, eax
add esp, 0x1c
test esi, esi
jns 0x40afb0
push str.BundleVersion
jmp 0x40b3a9
cmp dword [edi + 0x44], ebx
je 0x40afd5
push dword [edi + 0x44]
push str.BundleProviderKey
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40afd5
push str.BundleProviderKey
jmp 0x40b3a9
cmp dword [edi + 0x10], ebx
je 0x40affa
push dword [edi + 0x10]
push str.BundleTag
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40affa
push str.BundleTag
jmp 0x40b3a9
push str.3.8.3213.0
push 0x4458d8
push str.EngineVersion
push dword [ebp - 4]
call fcn.00436a69
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40b024
push str.EngineVersion
jmp 0x40b3a9
push dword [edi + 0x54]
push str._s_0
push str.DisplayIcon
push dword [ebp - 4]
call fcn.00436a69
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40b04c
push str.DisplayIcon
jmp 0x40b3a9
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push edi
call fcn.00409aa9
test eax, eax
mov eax, dword [ebp - 8]
jns 0x40b063
mov eax, dword [edi + 0x60]
push eax
push str.DisplayName
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b081
push str.DisplayName
jmp 0x40b3a9
cmp dword [edi + 0x64], ebx
je 0x40b0a6
push dword [edi + 0x64]
push str.DisplayVersion
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b0a6
push str.DisplayVersion
jmp 0x40b3a9
cmp dword [edi + 0x68], ebx
je 0x40b0cb
push dword [edi + 0x68]
push str.Publisher
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b0cb
push str.Publisher
jmp 0x40b3a9
cmp dword [edi + 0x6c], ebx
je 0x40b0f0
push dword [edi + 0x6c]
push str.HelpLink
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b0f0
push str.HelpLink
jmp 0x40b3a9
cmp dword [edi + 0x70], ebx
je 0x40b115
push dword [edi + 0x70]
push str.HelpTelephone
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b115
push str.HelpTelephone
jmp 0x40b3a9
cmp dword [edi + 0x74], ebx
je 0x40b13a
push dword [edi + 0x74]
push str.URLInfoAbout
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b13a
push str.URLInfoAbout
jmp 0x40b3a9
cmp dword [edi + 0x78], ebx
je 0x40b15f
push dword [edi + 0x78]
push str.URLUpdateInfo
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b15f
push str.URLUpdateInfo
jmp 0x40b3a9
cmp dword [edi + 0x7c], ebx
je 0x40b1a4
push dword [edi + 0x7c]
push str.ParentDisplayName
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b184
push str.ParentDisplayName
jmp 0x40b3a9
push dword [edi + 0x7c]
push str.ParentKeyName
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b1a4
push str.ParentKeyName
jmp 0x40b3a9
mov eax, dword [edi + 0x80]
test eax, eax
je 0x40b1cc
push eax
push str.Comments
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b1cc
push str.Comments
jmp 0x40b3a9
mov eax, dword [edi + 0x84]
test eax, eax
je 0x40b1f4
push eax
push str.Contact
push dword [ebp - 4]
call fcn.00436887
mov esi, eax
test esi, esi
jns 0x40b1f4
push str.Contact
jmp 0x40b3a9
mov eax, dword [edi + 0x88]
cmp eax, 1
jne 0x40b21d
push eax
push str.NoModify
push dword [ebp - 4]
call fcn.00436839
mov esi, eax
test esi, esi
jns 0x40b269
push str.NoModify
jmp 0x40b3a9
cmp eax, 2
je 0x40b269
push dword [edi + 0x54]
push str.__ls___modify
push str.ModifyPath
push dword [ebp - 4]
call fcn.00436a69
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40b24a
push str.ModifyPath
jmp 0x40b3a9
push 1
push str.NoElevateOnModify
push dword [ebp - 4]
call fcn.00436839
mov esi, eax
test esi, esi
jns 0x40b269
push str.NoElevateOnModify
jmp 0x40b3a9
cmp dword [edi + 0x8c], ebx
je 0x40b294
push dword [edi + 0x90]
push str.NoRemove
push dword [ebp - 4]
call fcn.00436839
mov esi, eax
test esi, esi
jns 0x40b294
push str.NoRemove
jmp 0x40b3a9
cmp dword [edi + 4], ebx
jne 0x40b2b8
push 1
push str.SystemComponent
push dword [ebp - 4]
call fcn.00436839
mov esi, eax
test esi, esi
jns 0x40b2b8
push str.SystemComponent
jmp 0x40b3a9
push dword [edi + 0x54]
push str.__ls___uninstall__quiet
push str.QuietUninstallString
push dword [ebp - 4]
call fcn.00436a69
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40b2e0
push str.QuietUninstallString
jmp 0x40b3a9
cmp dword [edi + 0x88], 2
mov ecx, str.__uninstall
mov eax, str._modify
cmovne eax, ecx
push eax
push dword [edi + 0x54]
push str.__ls___ls
push str.UninstallString
push dword [ebp - 4]
call fcn.00436a69
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x40b31d
push str.UninstallString
jmp 0x40b3a9
cmp dword [edi + 0x98], ebx
je 0x40b343
lea eax, [edi + 0x94]
push eax
push dword [edi]
call fcn.0040a36f
mov esi, eax
test esi, esi
jns 0x40b343
push str.Failed_to_write_software_tags.
jmp 0x40b3e9
cmp dword [edi + 0x9c], ebx
je 0x40b364
push dword [ebp + 0x10]
push edi
call fcn.0040a49e
mov esi, eax
test esi, esi
jns 0x40b364
push str.Failed_to_write_update_registration.
jmp 0x40b3e9
test byte [ebp + 0x18], 4
je 0x40b3b9
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
shrd ecx, eax, 0xa
shr eax, 0xa
cmp eax, ebx
jb 0x40b3b9
ja 0x40b385
cmp ecx, ebx
jbe 0x40b3b9
cmp eax, ebx
jb 0x40b38e
push 0xffffffffffffffff
pop eax
ja 0x40b390
cmp ecx, eax
ja 0x40b390
mov eax, ecx
push eax
push str.EstimatedSize
push dword [ebp - 4]
call fcn.00436839
mov esi, eax
test esi, esi
jns 0x40b3b9
push str.EstimatedSize
push str.Failed_to_write__ls_value.
push esi
call fcn.004348ae
add esp, 0xc
jmp 0x40b3f1
cmp dword [ebp + 0x1c], 1
jne 0x40b3d2
push edi
call fcn.0041f3c9
mov esi, eax
test esi, esi
jns 0x40b3d2
push str.Failed_to_register_the_bundle_dependency_key.
jmp 0x40b3e9
push ebx
push 1
push dword [ebp - 4]
push edi
call fcn.0040a1df
mov esi, eax
test esi, esi
jns 0x40b3f1
push str.Failed_to_update_resume_mode.
push esi
call fcn.004348ae
pop ecx
pop ecx
cmp dword [ebp - 8], ebx
je 0x40b3fe
push dword [ebp - 8]
call fcn.0043bfd9
cmp dword [ebp - 4], ebx
je 0x40b40c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20