Function at 0x41549b
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4762a7
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x4bfd60]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
push str.GetOverwriteURL...
lea ecx, [esp + 0x18]
call fcn.004020a6
xor esi, esi
push esi
lea eax, [esp + 0x18]
push eax
push 2
pop edi
push edi
mov dword [esp + 0xc4], esi
call fcn.004152d1
or dword [esp + 0xc4], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x80]
push eax
call fcn.00446606
mov dword [esp + 0xb8], 1
call fcn.0044825c
push eax
lea ecx, [esp + 0x34]
call fcn.0041872d
push 0x104
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc], 2
call fcn.0040241d
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov ebx, eax
call fcn.0040b00b
cmp ebx, esi
jne 0x415f8f
push str.AdobeUpdaterResourcesAdobeUpdater.overrides
lea ecx, [esp + 0x34]
call fcn.0040af5f
mov ebx, dword [esp + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x14]
cmp eax, 0xffffffff
jne 0x4155df
push str.No_overwrite_file
call fcn.004020a6
push esi
lea eax, [esp + 0x18]
push eax
push edi
mov byte [esp + 0xc4], 4
call fcn.004152d1
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.004025d2
mov esi, edi
or dword [esp + 0xb8], 0xffffffff
lea eax, [esp + 0x80]
push eax
call fcn.0044667e
mov eax, esi
jmp 0x415fe4
push str.overwrite_file_found
call fcn.004020a6
push esi
lea eax, [esp + 0x18]
push eax
push edi
mov byte [esp + 0xc4], 5
call fcn.004152d1
mov byte [esp + 0xc4], 2
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, esi
mov dword [esp + 0x48], eax
jl 0x415f5e
push ebx
lea ecx, [esp + 0x84]
call fcn.0044696b
test eax, eax
jne 0x415680
push str.failed_to_open_overwrite_file
lea ecx, [esp + 0x18]
call fcn.004020a6
push esi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0xc8], 6
call fcn.00414e01
mov ecx, dword [esp + 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.004025d2
push 0xd
pop esi
jmp 0x4155c3
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00446a49
push ecx
push ecx
mov byte [esp + 0xc0], 7
mov eax, dword [eax]
mov ecx, esp
mov dword [esp + 0x50], esp
push ecx
push eax
call fcn.00447b8b
lea edi, [esp + 0x34]
call fcn.004475b6
mov byte [esp + 0xb8], 9
cmp dword [esp + 0x50], esi
je 0x4156cd
mov esi, dword [esp + 0x50]
call fcn.00416101
xor esi, esi
lea eax, [esp + 0x2c]
push eax
call fcn.0044761c
mov dword [esp + 0x14], eax
cmp eax, esi
jne 0x415728
push str.Empty_Root_node
lea ecx, [esp + 0x18]
call fcn.004020a6
push esi
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0xc4], 0xa
call fcn.004152d1
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xbc], 2
call fcn.004475d8
jmp 0x41566e
call fcn.0044825c
push eax
lea ecx, [esp + 0x3c]
call fcn.0041872d
mov byte [esp + 0xb8], 0xb
call fcn.0044825c
push eax
lea ecx, [esp + 0x28]
call fcn.0041872d
mov byte [esp + 0xb8], 0xc
mov byte [esp + 0x2b], 0
mov byte [esp + 0x1f], 0
xor edi, edi
cmp edi, dword [esp + 0x14]
jge 0x415b55
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.appID
call fcn.004020a6
push edi
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xcc], 0xd
call fcn.004476d7
mov byte [esp + 0xc0], 0xe
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push ecx
push eax
mov byte [esp + 0xc8], 0xf
call fcn.00447cc3
mov byte [esp + 0xb8], 0x11
cmp dword [esp + 0x7c], esi
je 0x4157cf
mov esi, dword [esp + 0x7c]
call fcn.00416101
xor esi, esi
mov eax, dword [esp + 0x40]
cmp dword [eax - 0xc], esi
je 0x415b35
push str.AcroFamily
lea ecx, [esp + 0x44]
call fcn.0040ae5c
test eax, eax
jne 0x415b35
push edi
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x37], 1
call fcn.004476d7
push ecx
push ecx
mov byte [esp + 0xc0], 0x12
mov eax, dword [eax]
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
push eax
call fcn.00447b8b
lea edi, [esp + 0x3c]
call fcn.004475b6
mov byte [esp + 0xb8], 0x14
cmp dword [esp + 0x6c], esi
je 0x415842
mov esi, dword [esp + 0x6c]
call fcn.00416101
xor esi, esi
lea eax, [esp + 0x34]
push eax
call fcn.0044761c
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x415b8f
mov dword [esp + 0x44], esi
jmp 0x415b14
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x44], eax
jge 0x415b1f
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.WinAppId
call fcn.004020a6
mov byte [esp + 0xc0], 0x16
push dword [esp + 0x4c]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004476d7
mov byte [esp + 0xc0], 0x17
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push eax
mov byte [esp + 0xc8], 0x18
call fcn.00447cc3
mov byte [esp + 0xb8], 0x1a
cmp dword [esp + 0x5c], esi
je 0x4158d2
mov esi, dword [esp + 0x5c]
call fcn.00416101
xor esi, esi
mov eax, dword [esp + 0x3c]
cmp dword [eax - 0xc], esi
je 0x415afc
mov edi, dword [ebp + 8]
push dword [edi]
lea ecx, [esp + 0x40]
call fcn.0040ae5c
test eax, eax
je 0x415922
push 0x487e3c
xor ecx, ecx
lea esi, [esp + 0x40]
call fcn.0040ad24
cmp eax, 0xffffffff
je 0x415afa
push dword [esp + 0x3c]
xor ecx, ecx
mov esi, edi
call fcn.0040ad24
cmp eax, 0xffffffff
je 0x415afa
xor esi, esi
push ecx
push ecx
mov dword [esp + 0x54], esp
mov edi, esp
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x487e40
mov byte [esp + 0x33], 1
call fcn.004020a6
mov byte [esp + 0xc8], 0x1b
push dword [esp + 0x54]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004476d7
mov byte [esp + 0xc8], 0x1c
mov eax, dword [eax]
push edi
push eax
mov byte [esp + 0xd0], 0x1d
call fcn.0044798a
lea edi, [esp + 0x28]
call fcn.00447966
mov byte [esp + 0xb8], 0x1f
cmp dword [esp + 0x64], esi
je 0x415997
mov esi, dword [esp + 0x64]
call fcn.00416101
xor esi, esi
cmp dword [esp + 0x20], esi
je 0x415d59
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00447c8a
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0x20
call fcn.00402573
mov byte [esp + 0xb8], 0x1f
mov ecx, dword [esp + 0x54]
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, dword [esp + 0x38]
cmp dword [edi - 0xc], esi
je 0x415bf4
push ecx
push ecx
mov dword [esp + 0x54], esp
mov edi, esp
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.updates
call fcn.004020a6
mov byte [esp + 0xc8], 0x22
push dword [esp + 0x54]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004476d7
mov byte [esp + 0xc8], 0x23
mov eax, dword [eax]
push edi
push eax
mov byte [esp + 0xd0], 0x24
call fcn.0044798a
lea edi, [esp + 0x20]
call fcn.00447966
mov byte [esp + 0xb8], 0x26
cmp dword [esp + 0x74], esi
je 0x415a56
mov esi, dword [esp + 0x74]
call fcn.00416101
xor esi, esi
cmp dword [esp + 0x18], esi
je 0x415cfa
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00447c8a
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 0x27
call fcn.00402573
mov byte [esp + 0xb8], 0x26
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x10]
cmp dword [edi - 0xc], esi
je 0x415c76
push str.found_manifest_and_updates_overwrites
call fcn.004020a6
push esi
lea eax, [esp + 0x14]
push eax
push 2
mov byte [esp + 0xc4], 0x29
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xbc], 0x1f
call fcn.004475d8
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xbc], 0x1a
call fcn.004475d8
jmp 0x415afc
xor esi, esi
mov byte [esp + 0xb8], 0x14
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.004025d2
inc dword [esp + 0x44]
cmp byte [esp + 0x1f], 0
je 0x415861
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xbc], 0x11
call fcn.004475d8
mov edi, dword [esp + 0x44]
mov byte [esp + 0xb8], 0xc
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004025d2
inc edi
cmp byte [esp + 0x2b], 0
je 0x415762
mov edi, dword [esp + 0x38]
cmp dword [edi - 0xc], esi
je 0x415f2f
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], esi
je 0x415f2f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 0xc], esi
je 0x415d8d
lea ebx, [esp + 0x38]
call fcn.0041606a
mov ebx, dword [esp + 0x30]
jmp 0x415ee3
push str.No_Products_in_AcroFamily_Application_Node
lea ecx, [esp + 0x14]
call fcn.004020a6
push esi
lea eax, [esp + 0x14]
push eax
push 2
mov byte [esp + 0xc4], 0x15
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xbc], 0x11
call fcn.004475d8
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x38]
jmp 0x415709
push str.missing_manifest_data
lea ecx, [esp + 0x14]
call fcn.004020a6
push esi
lea eax, [esp + 0x14]
push eax
push 2
mov byte [esp + 0xc4], 0x21
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xbc], 0x1a
call fcn.004475d8
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xbc], 0x11
call fcn.004475d8
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [edi - 0x10]
jmp 0x41570c
push str.missing_updates_data
call fcn.004020a6
push esi
lea eax, [esp + 0x14]
push eax
push 2
mov byte [esp + 0xc4], 0x28
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xbc], 0x1f
call fcn.004475d8
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xbc], 0x1a
call fcn.004475d8
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xbc], 0x11
call fcn.004475d8
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [edi - 0x10]
jmp 0x415be6
push str.missing_updates_node
lea ecx, [esp + 0x14]
call fcn.004020a6
push esi
lea eax, [esp + 0x14]
push eax
push 2
mov byte [esp + 0xc4], 0x2a
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xbc], 0x1f
call fcn.004475d8
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xbc], 0x1a
call fcn.004475d8
mov ecx, dword [esp + 0x3c]
jmp 0x415bb9
push str.missing_manifest_node
lea ecx, [esp + 0x14]
call fcn.004020a6
push esi
lea eax, [esp + 0x14]
push eax
push 2
mov byte [esp + 0xc4], 0x2b
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x415d3e
mov ecx, dword [ebp + 8]
push str.WinARM
call fcn.0040ae5c
test eax, eax
jne 0x415e39
mov eax, dword [0x4c47f0]
cmp eax, esi
je 0x415ee3
add eax, 0xc
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], eax
call fcn.004020ea
mov byte [esp + 0xb8], 0x2d
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], esi
je 0x415e28
lea ecx, [esp + 0x18]
lea ebx, [esp + 0x24]
call fcn.0041606a
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x18]
push eax
call fcn.00402573
push str.self_update_URL_is_reset:
lea ecx, [esp + 0x14]
call fcn.004020a6
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0xc8], 0x2e
call fcn.00414e01
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x415ee3
mov eax, dword [0x4c47fc]
cmp eax, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], esi
jle 0x415ee3
push dword [esp + 0x20]
mov ecx, 0x4c47f4
call fcn.0040b035
mov edi, eax
mov eax, dword [edi]
cmp eax, esi
je 0x415ecd
add eax, 0xc
push eax
lea ecx, [esp + 0x1c]
call fcn.004020ea
mov byte [esp + 0xb8], 0x2f
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], esi
je 0x415eb9
lea ecx, [esp + 0x18]
lea ebx, [esp + 0x24]
call fcn.0041606a
mov eax, dword [edi]
lea ecx, [eax + 0xc]
lea eax, [esp + 0x18]
push eax
call fcn.00402573
mov eax, dword [edi]
add eax, 0x20
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x415eb3
call fcn.0041606a
mov ebx, dword [esp + 0x30]
xor esi, esi
mov byte [esp + 0xb8], 0xc
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x48]
jl 0x415e4e
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [edi - 0x10]
call fcn.004025d2
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xbc], 2
call fcn.004475d8
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.004025d2
or dword [esp + 0xb8], 0xffffffff
lea eax, [esp + 0x80]
push eax
call fcn.0044667e
xor eax, eax
jmp 0x415fe4
push str.no_overwrite_URLs_found
lea ecx, [esp + 0x14]
call fcn.004020a6
push esi
lea eax, [esp + 0x14]
push eax
push 2
mov byte [esp + 0xc4], 0x2c
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x415c5a
push str.CoInitialize_failed
lea ecx, [esp + 0x14]
call fcn.004020a6
mov byte [esp + 0xb8], 0x30
push dword [esp + 0x48]
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004152d1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x415666
push str.SHGetFolderPath_failed:
lea ecx, [esp + 0x18]
call fcn.004020a6
push ebx
lea eax, [esp + 0x18]
push eax
push 1
mov byte [esp + 0xc4], 3
call fcn.004152d1
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004025d2
or dword [esp + 0xb8], 0xffffffff
lea eax, [esp + 0x80]
push eax
call fcn.0044667e
mov eax, ebx
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret