Function at 0x40ad55
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 0x40ad99
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.004135a7
mov esi, eax
test esi, esi
jns 0x40ad99
push dword [ebp + 8]
push str.Failed_to_cache_bundle_from_path:__ls
jmp 0x40b2b8
lea eax, [ebp - 4]
push eax
push 0x20006
push dword [edi + 0x50]
push dword [edi + 0x4c]
call fcn.00432129
mov esi, eax
test esi, esi
jns 0x40adbd
push str.Failed_to_create_registration_key.
jmp 0x40b2f3
test byte [ebp + 0x18], 2
je 0x40b26e
push dword [edi + 0x54]
push str.BundleCachePath
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40ade7
push str.BundleCachePath
jmp 0x40b2b3
push dword [edi + 0x20]
push dword [edi + 0x1c]
push str.BundleUpgradeCode
push dword [ebp - 4]
call fcn.00432abe
mov esi, eax
test esi, esi
jns 0x40ae0a
push str.BundleUpgradeCode
jmp 0x40b2b3
push dword [edi + 0x28]
push dword [edi + 0x24]
push str.BundleAddonCode
push dword [ebp - 4]
call fcn.00432abe
mov esi, eax
test esi, esi
jns 0x40ae2d
push str.BundleAddonCode
jmp 0x40b2b3
push dword [edi + 0x18]
push dword [edi + 0x14]
push str.BundleDetectCode
push dword [ebp - 4]
call fcn.00432abe
mov esi, eax
test esi, esi
jns 0x40ae50
push str.BundleDetectCode
jmp 0x40b2b3
push dword [edi + 0x30]
push dword [edi + 0x2c]
push str.BundlePatchCode
push dword [ebp - 4]
call fcn.00432abe
mov esi, eax
test esi, esi
jns 0x40ae73
push str.BundlePatchCode
jmp 0x40b2b3
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
movzx eax, cx
push eax
mov eax, edx
shrd ecx, eax, 0x10
shr eax, 0x10
movzx eax, cx
push eax
movzx eax, dx
push eax
mov dword [ebp - 0xc], edx
shr edx, 0x10
push edx
push str._hu._hu._hu._hu
push str.BundleVersion
push dword [ebp - 4]
call fcn.00432bf4
mov esi, eax
add esp, 0x1c
test esi, esi
jns 0x40aeba
push str.BundleVersion
jmp 0x40b2b3
cmp dword [edi + 0x44], ebx
je 0x40aedf
push dword [edi + 0x44]
push str.BundleProviderKey
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40aedf
push str.BundleProviderKey
jmp 0x40b2b3
cmp dword [edi + 0x10], ebx
je 0x40af04
push dword [edi + 0x10]
push str.BundleTag
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40af04
push str.BundleTag
jmp 0x40b2b3
push str.3.8.1128.0
push 0x4408d8
push str.EngineVersion
push dword [ebp - 4]
call fcn.00432bf4
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40af2e
push str.EngineVersion
jmp 0x40b2b3
push dword [edi + 0x54]
push str._s_0
push str.DisplayIcon
push dword [ebp - 4]
call fcn.00432bf4
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40af56
push str.DisplayIcon
jmp 0x40b2b3
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push edi
call fcn.004099cc
test eax, eax
mov eax, dword [ebp - 8]
jns 0x40af6d
mov eax, dword [edi + 0x60]
push eax
push str.DisplayName
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40af8b
push str.DisplayName
jmp 0x40b2b3
cmp dword [edi + 0x64], ebx
je 0x40afb0
push dword [edi + 0x64]
push str.DisplayVersion
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40afb0
push str.DisplayVersion
jmp 0x40b2b3
cmp dword [edi + 0x68], ebx
je 0x40afd5
push dword [edi + 0x68]
push str.Publisher
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40afd5
push str.Publisher
jmp 0x40b2b3
cmp dword [edi + 0x6c], ebx
je 0x40affa
push dword [edi + 0x6c]
push str.HelpLink
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40affa
push str.HelpLink
jmp 0x40b2b3
cmp dword [edi + 0x70], ebx
je 0x40b01f
push dword [edi + 0x70]
push str.HelpTelephone
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40b01f
push str.HelpTelephone
jmp 0x40b2b3
cmp dword [edi + 0x74], ebx
je 0x40b044
push dword [edi + 0x74]
push str.URLInfoAbout
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40b044
push str.URLInfoAbout
jmp 0x40b2b3
cmp dword [edi + 0x78], ebx
je 0x40b069
push dword [edi + 0x78]
push str.URLUpdateInfo
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40b069
push str.URLUpdateInfo
jmp 0x40b2b3
cmp dword [edi + 0x7c], ebx
je 0x40b0ae
push dword [edi + 0x7c]
push str.ParentDisplayName
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40b08e
push str.ParentDisplayName
jmp 0x40b2b3
push dword [edi + 0x7c]
push str.ParentKeyName
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40b0ae
push str.ParentKeyName
jmp 0x40b2b3
mov eax, dword [edi + 0x80]
test eax, eax
je 0x40b0d6
push eax
push str.Comments
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40b0d6
push str.Comments
jmp 0x40b2b3
mov eax, dword [edi + 0x84]
test eax, eax
je 0x40b0fe
push eax
push str.Contact
push dword [ebp - 4]
call fcn.00432a16
mov esi, eax
test esi, esi
jns 0x40b0fe
push str.Contact
jmp 0x40b2b3
mov eax, dword [edi + 0x88]
cmp eax, 1
jne 0x40b127
push eax
push str.NoModify
push dword [ebp - 4]
call fcn.004329c8
mov esi, eax
test esi, esi
jns 0x40b173
push str.NoModify
jmp 0x40b2b3
cmp eax, 2
je 0x40b173
push dword [edi + 0x54]
push str.__ls___modify
push str.ModifyPath
push dword [ebp - 4]
call fcn.00432bf4
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40b154
push str.ModifyPath
jmp 0x40b2b3
push 1
push str.NoElevateOnModify
push dword [ebp - 4]
call fcn.004329c8
mov esi, eax
test esi, esi
jns 0x40b173
push str.NoElevateOnModify
jmp 0x40b2b3
cmp dword [edi + 0x8c], ebx
je 0x40b19e
push dword [edi + 0x90]
push str.NoRemove
push dword [ebp - 4]
call fcn.004329c8
mov esi, eax
test esi, esi
jns 0x40b19e
push str.NoRemove
jmp 0x40b2b3
cmp dword [edi + 4], ebx
jne 0x40b1c2
push 1
push str.SystemComponent
push dword [ebp - 4]
call fcn.004329c8
mov esi, eax
test esi, esi
jns 0x40b1c2
push str.SystemComponent
jmp 0x40b2b3
push dword [edi + 0x54]
push str.__ls___uninstall__quiet
push str.QuietUninstallString
push dword [ebp - 4]
call fcn.00432bf4
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40b1ea
push str.QuietUninstallString
jmp 0x40b2b3
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.00432bf4
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x40b227
push str.UninstallString
jmp 0x40b2b3
cmp dword [edi + 0x98], ebx
je 0x40b24d
lea eax, [edi + 0x94]
push eax
push dword [edi]
call fcn.0040a284
mov esi, eax
test esi, esi
jns 0x40b24d
push str.Failed_to_write_software_tags.
jmp 0x40b2f3
cmp dword [edi + 0x9c], ebx
je 0x40b26e
push dword [ebp + 0x10]
push edi
call fcn.0040a3b1
mov esi, eax
test esi, esi
jns 0x40b26e
push str.Failed_to_write_update_registration.
jmp 0x40b2f3
test byte [ebp + 0x18], 4
je 0x40b2c3
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
shrd ecx, eax, 0xa
shr eax, 0xa
cmp eax, ebx
jb 0x40b2c3
ja 0x40b28f
cmp ecx, ebx
jbe 0x40b2c3
cmp eax, ebx
jb 0x40b298
push 0xffffffffffffffff
pop eax
ja 0x40b29a
cmp ecx, eax
ja 0x40b29a
mov eax, ecx
push eax
push str.EstimatedSize
push dword [ebp - 4]
call fcn.004329c8
mov esi, eax
test esi, esi
jns 0x40b2c3
push str.EstimatedSize
push str.Failed_to_write__ls_value.
push esi
call fcn.00430a57
add esp, 0xc
jmp 0x40b2fb
cmp dword [ebp + 0x1c], 1
jne 0x40b2dc
push edi
call fcn.0041f17c
mov esi, eax
test esi, esi
jns 0x40b2dc
push str.Failed_to_register_the_bundle_dependency_key.
jmp 0x40b2f3
push ebx
push 1
push dword [ebp - 4]
push edi
call fcn.0040a0f6
mov esi, eax
test esi, esi
jns 0x40b2fb
push str.Failed_to_update_resume_mode.
push esi
call fcn.00430a57
pop ecx
pop ecx
cmp dword [ebp - 8], ebx
je 0x40b308
push dword [ebp - 8]
call fcn.004380ab
cmp dword [ebp - 4], ebx
je 0x40b316
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20