Function at 0x414e7b
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get startup folder

Disassembly:
push 0x7c
mov eax, 0x4ab3b1
call fcn.00468c18
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x40], ecx
push str.GetOverwriteURL...
lea ecx, [ebp - 0x3c]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x3c]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov dword [ebp - 0x88], ebx
push 0x4ccd0c
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 1
call fcn.00402829
mov byte [ebp - 4], 2
push 0x18
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call fcn.0044e655
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 3
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402899
push 0x104
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00402bd2
push eax
push ebx
push ebx
push 0x2b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040a0f8
test esi, esi
jne 0x4156c8
push str.AdobeUpdaterResourcesAdobeUpdater.overrides
lea ecx, [ebp - 0x1c]
call fcn.0040259d
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x414f8c
push str.No_overwrite_file
lea ecx, [ebp - 0x40]
call fcn.00402829
push ebx
push 2
pop ebx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 7
mov ecx, ebx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4156f6
push str.overwrite_file_found
lea ecx, [ebp - 0x3c]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 9
pop ecx
call fcn.00414ca1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
test edi, edi
js 0x41569a
push esi
lea ecx, [ebp - 0x88]
call fcn.0044d130
test eax, eax
jne 0x415010
push str.failed_to_open_overwrite_file
lea ecx, [ebp - 0x40]
call fcn.00402829
push ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push eax
push 2
lea edx, [ebp - 0x40]
pop ecx
call fcn.00414570
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop ebx
jmp 0x4156f3
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x88]
call fcn.0044d250
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, dword [eax]
call fcn.0044de60
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax]
mov dword [eax], ebx
mov dword [ebp - 0x44], ecx
push dword [ecx]
lea ecx, [ebp - 0x28]
call fcn.0044d4e7
lea ecx, [ebp - 0x44]
call fcn.00415852
lea ecx, [ebp - 0x38]
call fcn.00415852
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.0041586c
lea ecx, [ebp - 0x28]
call fcn.0044d840
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x415096
push str.Empty_Root_node
lea ecx, [ebp - 0x40]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
jmp 0x41568b
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x34]
call fcn.00402899
mov byte [ebp - 4], 0x11
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
mov eax, ebx
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x34]
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x3c]
jge 0x415412
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.appID
call fcn.00402829
push dword [ebp - 0x14]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x28]
call fcn.0044d87f
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x15
push ecx
mov ecx, dword [eax]
call fcn.0044df7c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.0041586c
mov eax, dword [ebp - 0x38]
cmp dword [eax - 0xc], 0
je 0x4153f2
push str.AcroFamily
lea ecx, [ebp - 0x38]
call fcn.00409e4b
test eax, eax
jne 0x4153f2
push dword [ebp - 0x14]
lea eax, [ebp - 0x50]
mov byte [ebp - 0xe], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0044d87f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x18
push ecx
mov ecx, dword [eax]
call fcn.0044de60
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
mov dword [eax], ebx
mov dword [ebp - 0x3c], ecx
push dword [ecx]
lea ecx, [ebp - 0x20]
call fcn.0044d4e7
lea ecx, [ebp - 0x3c]
call fcn.00415852
lea ecx, [ebp - 0x4c]
call fcn.00415852
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
call fcn.0041586c
lea ecx, [ebp - 0x20]
call fcn.0044d840
mov ecx, eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x4154d1
mov eax, ebx
cmp byte [ebp - 0xd], al
jmp 0x4153e1
cmp eax, ecx
jge 0x4153ea
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.WinAppId
call fcn.00402829
push dword [ebp - 0x14]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x20]
call fcn.0044d87f
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1f
push ecx
mov ecx, dword [eax]
call fcn.0044df7c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x21
call fcn.0041586c
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x4153c7
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x24]
push dword [eax]
call fcn.00409e4b
test eax, eax
je 0x41523c
push ebx
push 0x4e6734
lea ecx, [ebp - 0x24]
call fcn.00409b2e
cmp eax, 0xffffffff
je 0x4153c7
mov ecx, dword [ebp - 0x40]
push ebx
push dword [ebp - 0x24]
call fcn.00409b2e
cmp eax, 0xffffffff
je 0x4153c7
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x4e6738
mov byte [ebp - 0xd], 1
call fcn.00402829
push dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x20]
call fcn.0044d87f
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x24
push ecx
mov ecx, dword [eax]
call fcn.0044dc40
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
mov dword [eax], ebx
mov dword [ebp - 0x2c], ecx
push dword [ecx]
lea ecx, [ebp - 0x30]
call fcn.0044d4e7
lea ecx, [ebp - 0x2c]
call fcn.0041586c
lea ecx, [ebp - 0x58]
call fcn.0041586c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x26
call fcn.0041586c
cmp dword [ebp - 0x30], 0
je 0x41549b
push ecx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.0044df38
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x27
call fcn.00402e14
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.00402e64
mov edi, dword [ebp - 0x34]
cmp dword [edi - 0xc], 0
je 0x415488
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.updates
call fcn.00402829
push dword [ebp - 0x14]
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x2a
push eax
lea ecx, [ebp - 0x20]
call fcn.0044d87f
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x2c
push ecx
mov ecx, dword [eax]
call fcn.0044dc40
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
mov dword [eax], ebx
mov dword [ebp - 0x64], ecx
push dword [ecx]
lea ecx, [ebp - 0x2c]
call fcn.0044d4e7
lea ecx, [ebp - 0x64]
call fcn.0041586c
lea ecx, [ebp - 0x68]
call fcn.0041586c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x2e
call fcn.0041586c
cmp dword [ebp - 0x2c], 0
je 0x415455
push ecx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044df38
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2f
call fcn.00402e14
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
cmp dword [eax - 0xc], 0
je 0x415445
push str.found_manifest_and_updates_overwrites
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x32
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x2c]
call fcn.0044dbf2
lea ecx, [ebp - 0x30]
call fcn.0044dbf2
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
inc eax
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x14], eax
je 0x4151a7
lea ecx, [ebp - 0x20]
call fcn.0044d7f4
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, dword [ebp - 0x14]
inc eax
cmp byte [ebp - 0xe], 0
mov dword [ebp - 0x14], eax
je 0x4150c8
cmp dword [edi - 0xc], 0
je 0x415654
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x415654
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x41550a
lea ecx, [ebp - 0x34]
call fcn.004157c7
jmp 0x415634
push str.missing_updates_data
call fcn.00402829
mov byte [ebp - 4], 0x30
jmp 0x415466
push str.missing_updates_node
lea ecx, [ebp - 0x44]
call fcn.00402829
mov byte [ebp - 4], 0x33
push ebx
push 2
lea edx, [ebp - 0x44]
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x2c]
call fcn.0044dbf2
jmp 0x4154c4
push str.missing_manifest_data
lea ecx, [ebp - 0x44]
call fcn.00402829
mov byte [ebp - 4], 0x28
jmp 0x4154ac
push str.missing_manifest_node
lea ecx, [ebp - 0x44]
call fcn.00402829
mov byte [ebp - 4], 0x35
push ebx
push 2
lea edx, [ebp - 0x44]
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x30]
call fcn.0044dbf2
mov ecx, dword [ebp - 0x24]
jmp 0x4154f2
push str.No_Products_in_AcroFamily_Application_Node
lea ecx, [ebp - 0x44]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x20]
call fcn.0044d7f4
mov ecx, dword [ebp - 0x38]
jmp 0x415675
mov ecx, dword [ebp - 0x40]
push str.WinARM
call fcn.00409e4b
test eax, eax
jne 0x4155a3
mov eax, dword [0x513f88]
test eax, eax
je 0x415634
add eax, 0xc
mov dword [ebp - 0x74], eax
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x39
cmp dword [eax - 0xc], 0
je 0x415596
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x18]
call fcn.004157c7
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x38]
push eax
call fcn.00402e14
push str.self_update_URL_is_reset:
lea ecx, [ebp - 0x44]
call fcn.00402829
push ebx
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x3a
push eax
push 2
lea edx, [ebp - 0x44]
pop ecx
call fcn.00414570
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x38]
lea ecx, [eax - 0x10]
call fcn.00402e64
jmp 0x415634
mov ecx, dword [0x513f94]
test ecx, ecx
jle 0x415634
mov esi, ebx
mov edi, ecx
push esi
mov ecx, 0x513f8c
call fcn.0040a0bf
mov dword [ebp - 0x44], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x415629
mov ecx, dword [ecx + 0xc]
sub ecx, 0x10
push ecx
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x3b
cmp dword [eax - 0xc], 0
je 0x41561d
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x18]
call fcn.004157c7
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ecx]
lea ecx, [ecx + 0xc]
call fcn.00402e14
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
add edx, 0x2c
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x41561a
lea ecx, [ebp - 0x18]
call fcn.004157c7
mov eax, dword [ebp - 0x38]
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0x12
call fcn.00402e64
inc esi
cmp esi, edi
jl 0x4155b5
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x28]
call fcn.0044d7f4
jmp 0x4156f6
push str.no_overwrite_URLs_found
lea ecx, [ebp - 0x44]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x37
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x28]
call fcn.0044d7f4
jmp 0x4156c3
push str.CoInitialize_failed
lea ecx, [ebp - 0x44]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x3c
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop ebx
jmp 0x4156f6
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x44]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 5
push esi
lea edx, [ebp - 0x44]
inc ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, esi
mov esi, dword [ebp - 0x1c]
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x3e
call fcn.0044d1f4
mov eax, dword [ebp - 0x7c]
push dword [eax + 4]
lea eax, [ebp - 0x7c]
push eax
mov ecx, eax
call fcn.0044d498
push 0x18
push dword [ebp - 0x7c]
call fcn.0042834e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x415755
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4b67e4]
call esi
mov eax, ebx
call fcn.00468be1
ret