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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
push dword [edi + 8]
call fcn.00410648
mov ebx, dword [ebp + 0x18]
push eax
push ebx
push dword [edi + 0x50]
push 0x20000172
push 3
call fcn.00402297
add esp, 0x14
test bl, 1
je 0x40c800
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.00416236
mov esi, eax
test esi, esi
jns 0x40c800
push dword [ebp + 8]
push str.Failed_to_cache_bundle_from_path:__ls
push esi
call fcn.0043cb9d
add esp, 0xc
jmp 0x40cd65
lea eax, [ebp - 4]
push eax
push 0x20006
push dword [edi + 0x50]
push dword [edi + 0x4c]
call fcn.0043e3b1
mov esi, eax
test esi, esi
jns 0x40c824
push str.Failed_to_create_registration_key.
jmp 0x40cd5d
test bl, 2
je 0x40cce6
push dword [edi + 0x54]
push str.BundleCachePath
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40c84f
push str.BundleCachePath
push str.Failed_to_write__ls_value.
jmp 0x40c7f2
push dword [edi + 0x24]
push dword [edi + 0x20]
push str.BundleUpgradeCode
push dword [ebp - 4]
call fcn.0043ed5a
mov esi, eax
test esi, esi
jns 0x40c86f
push str.BundleUpgradeCode
jmp 0x40c848
push dword [edi + 0x2c]
push dword [edi + 0x28]
push str.BundleAddonCode
push dword [ebp - 4]
call fcn.0043ed5a
mov esi, eax
test esi, esi
jns 0x40c88f
push str.BundleAddonCode
jmp 0x40c848
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.BundleDetectCode
push dword [ebp - 4]
call fcn.0043ed5a
mov esi, eax
test esi, esi
jns 0x40c8af
push str.BundleDetectCode
jmp 0x40c848
push dword [edi + 0x34]
push dword [edi + 0x30]
push str.BundlePatchCode
push dword [ebp - 4]
call fcn.0043ed5a
mov esi, eax
test esi, esi
jns 0x40c8d2
push str.BundlePatchCode
jmp 0x40c848
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
movzx eax, cx
push eax
mov eax, edx
mov dword [ebp - 0x10], 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.0043ee91
mov esi, eax
add esp, 0x1c
test esi, esi
jns 0x40c919
push str.BundleVersion
jmp 0x40c848
cmp dword [edi + 0x44], 0
je 0x40c93f
push dword [edi + 0x44]
push str.BundleProviderKey
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40c93f
push str.BundleProviderKey
jmp 0x40c848
cmp dword [edi + 0x14], 0
je 0x40c965
push dword [edi + 0x14]
push str.BundleTag
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40c965
push str.BundleTag
jmp 0x40c848
push str.3.10.0.1823
push 0x450160
push str.EngineVersion
push dword [ebp - 4]
call fcn.0043ee91
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40c98f
push str.EngineVersion
jmp 0x40c848
push dword [edi + 0x54]
push str._s_0
push str.DisplayIcon
push dword [ebp - 4]
call fcn.0043ee91
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40c9b7
push str.DisplayIcon
jmp 0x40c848
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push edi
call fcn.0040b254
test eax, eax
mov eax, dword [ebp - 8]
jns 0x40c9ce
mov eax, dword [edi + 0x60]
push eax
push str.DisplayName
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40c9ec
push str.DisplayName
jmp 0x40c848
cmp dword [edi + 0x64], 0
je 0x40ca12
push dword [edi + 0x64]
push str.DisplayVersion
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40ca12
push str.DisplayVersion
jmp 0x40c848
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push edi
call fcn.0040b1ee
test eax, eax
mov eax, dword [ebp - 0xc]
jns 0x40ca29
mov eax, dword [edi + 0x68]
push eax
push str.Publisher
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40ca47
push str.Publisher
jmp 0x40c848
cmp dword [edi + 0x6c], 0
je 0x40ca6d
push dword [edi + 0x6c]
push str.HelpLink
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40ca6d
push str.HelpLink
jmp 0x40c848
cmp dword [edi + 0x70], 0
je 0x40ca93
push dword [edi + 0x70]
push str.HelpTelephone
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40ca93
push str.HelpTelephone
jmp 0x40c848
cmp dword [edi + 0x74], 0
je 0x40cab9
push dword [edi + 0x74]
push str.URLInfoAbout
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40cab9
push str.URLInfoAbout
jmp 0x40c848
cmp dword [edi + 0x78], 0
je 0x40cadf
push dword [edi + 0x78]
push str.URLUpdateInfo
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40cadf
push str.URLUpdateInfo
jmp 0x40c848
cmp dword [edi + 0x7c], 0
je 0x40cb25
push dword [edi + 0x7c]
push str.ParentDisplayName
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40cb05
push str.ParentDisplayName
jmp 0x40c848
push dword [edi + 0x7c]
push str.ParentKeyName
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40cb25
push str.ParentKeyName
jmp 0x40c848
mov eax, dword [edi + 0x80]
test eax, eax
je 0x40cb4d
push eax
push str.Comments
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40cb4d
push str.Comments
jmp 0x40c848
mov eax, dword [edi + 0x84]
test eax, eax
je 0x40cb75
push eax
push str.Contact
push dword [ebp - 4]
call fcn.0043ecb0
mov esi, eax
test esi, esi
jns 0x40cb75
push str.Contact
jmp 0x40c848
mov eax, dword [edi + 0x88]
cmp eax, 1
jne 0x40cb9e
push eax
push str.NoModify
push dword [ebp - 4]
call fcn.0043ec62
mov esi, eax
test esi, esi
jns 0x40cbea
push str.NoModify
jmp 0x40c848
cmp eax, 2
je 0x40cbea
push dword [edi + 0x54]
push str.__ls___modify
push str.ModifyPath
push dword [ebp - 4]
call fcn.0043ee91
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40cbcb
push str.ModifyPath
jmp 0x40c848
push 1
push str.NoElevateOnModify
push dword [ebp - 4]
call fcn.0043ec62
mov esi, eax
test esi, esi
jns 0x40cbea
push str.NoElevateOnModify
jmp 0x40c848
cmp dword [edi + 0x8c], 0
je 0x40cc16
push dword [edi + 0x90]
push str.NoRemove
push dword [ebp - 4]
call fcn.0043ec62
mov esi, eax
test esi, esi
jns 0x40cc16
push str.NoRemove
jmp 0x40c848
cmp dword [edi + 4], 0
jne 0x40cc3b
push 1
push str.SystemComponent
push dword [ebp - 4]
call fcn.0043ec62
mov esi, eax
test esi, esi
jns 0x40cc3b
push str.SystemComponent
jmp 0x40c848
push dword [edi + 0x54]
push str.__ls___uninstall__quiet
push str.QuietUninstallString
push dword [ebp - 4]
call fcn.0043ee91
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x40cc63
push str.QuietUninstallString
jmp 0x40c848
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.0043ee91
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x40cca0
push str.UninstallString
jmp 0x40c848
cmp dword [edi + 0x98], 0
je 0x40ccc7
lea eax, [edi + 0x94]
push eax
push dword [edi]
call fcn.0040bc47
mov esi, eax
test esi, esi
jns 0x40ccc7
push str.Failed_to_write_software_tags.
jmp 0x40cd5d
cmp dword [edi + 0x9c], 0
je 0x40cce6
push dword [ebp + 0x10]
push edi
call fcn.0040bd7c
mov esi, eax
test esi, esi
jns 0x40cce6
push str.Failed_to_write_update_registration.
jmp 0x40cd5d
test bl, 4
je 0x40cd2c
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
shrd ecx, eax, 0xa
shr eax, 0xa
test eax, eax
jb 0x40cd2c
ja 0x40cd06
test ecx, ecx
je 0x40cd2c
test eax, eax
jb 0x40cd0f
push 0xffffffffffffffff
pop eax
ja 0x40cd11
cmp ecx, eax
ja 0x40cd11
mov eax, ecx
push eax
mov ebx, str.EstimatedSize
push ebx
push dword [ebp - 4]
call fcn.0043ec62
mov esi, eax
test esi, esi
jns 0x40cd2c
push ebx
jmp 0x40c848
cmp dword [ebp + 0x1c], 1
jne 0x40cd45
push edi
call fcn.004249a9
mov esi, eax
test esi, esi
jns 0x40cd45
push str.Failed_to_register_the_bundle_dependency_key.
jmp 0x40cd5d
push 0
push 1
push dword [ebp - 4]
push edi
call fcn.0040ba08
mov esi, eax
test esi, esi
jns 0x40cd65
push str.Failed_to_update_resume_mode.
push esi
call fcn.0043cb9d
pop ecx
pop ecx
cmp dword [ebp - 8], 0
je 0x40cd73
push dword [ebp - 8]
call fcn.004408e7
cmp dword [ebp - 0xc], 0
je 0x40cd81
push dword [ebp - 0xc]
call fcn.004408e7
cmp dword [ebp - 4], 0
je 0x40cd90
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