Function at 0x4205ac
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push 0x50
mov eax, 0x455aa6
call fcn.0043dfc3
lea eax, [ebp - 0x28]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREAdobeAdobe_ARM1.0ARMCollectData
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x4205ff
push str.Unable_to_open_registry_to_collect_files
lea ecx, [ebp - 0x24]
call fcn.0040215a
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.0040ed4d
mov ecx, dword [ebp - 0x24]
add esp, 0xc
jmp 0x420929
push ebx
push ebx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x420633
push str.Unable_to_query_registry_to_collect_files
lea ecx, [ebp - 0x24]
call fcn.0040215a
mov dword [ebp - 4], 1
jmp 0x4205e8
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x10]
call fcn.004104de
mov dword [ebp - 4], 2
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x14]
call fcn.004104de
mov byte [ebp - 4], 3
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x1c]
call fcn.004104de
mov edi, 0x104
mov byte [ebp - 4], 4
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
call fcn.00402467
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00402467
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x48]
push ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
jmp 0x4208ff
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00408ef4
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00408ef4
push dword [0x48e3f4]
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00408c71
cmp eax, 0xffffffff
jne 0x420715
push dword [0x48e40c]
xor ecx, ecx
call fcn.00408c71
cmp eax, 0xffffffff
jne 0x420715
push dword [0x48e410]
xor ecx, ecx
call fcn.00408c71
cmp eax, 0xffffffff
jne 0x420715
push dword [0x48e414]
xor ecx, ecx
call fcn.00408c71
cmp eax, 0xffffffff
jne 0x420715
push str.armsvc.exe
xor ecx, ecx
call fcn.00408c71
cmp eax, 0xffffffff
je 0x42074c
push str.Skipping_ARM_file:
lea ecx, [ebp - 0x2c]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.0040edf0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [ebp - 0x10]
call fcn.0040234f
push str.logsession.dll
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00408c71
cmp eax, 0xffffffff
je 0x420788
push str.Skipping_file:
lea ecx, [ebp - 0x30]
call fcn.0040215a
mov eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
call fcn.0040edf0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
jmp 0x4207bb
lea ecx, [ebp - 0x10]
call fcn.00424f2a
test eax, eax
jne 0x4207cb
push str.Skipping_file_based_on_the_extension:
lea ecx, [ebp - 0x34]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 7
call fcn.0040edf0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [ebp - 0x10]
call fcn.0040234f
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
cmp dword [esi - 0xc], ebx
je 0x4208d2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4208d2
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
jne 0x420829
push str.No_registered_version___will_not_wait_for:
lea ecx, [ebp - 0x38]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 8
call fcn.0040edf0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x4208d2
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], edi
call fcn.00402467
push ebx
push ebx
lea ecx, [ebp - 0x44]
push ecx
push eax
push esi
call sub.msi.dll_MsiMessageBoxW
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408ef4
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x42087d
push str.Unable_to_get_installed_file_version___will_not_wait_for:
lea ecx, [ebp - 0x3c]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 9
call fcn.0040edf0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
jmp 0x42081c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042674a
pop ecx
pop ecx
test eax, eax
jne 0x4208bc
push str.Update_file_version_is_not_newer___will_not_wait_for:
lea ecx, [ebp - 0x40]
call fcn.0040215a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040edf0
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
jmp 0x42081c
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp - 0x5c]
call fcn.0042122f
mov edi, 0x104
xor ebx, ebx
push dword [ebp - 0x20]
inc dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00402467
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00402467
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x48]
push ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4206a5
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
call fcn.0043e09b
ret