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

Disassembly:
push 0x50
mov eax, 0x46b48e
call fcn.004529c4
lea eax, [ebp - 0x28]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREAdobeAdobe_ARM1.0ARMCollectData
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x42aed2
push str.Unable_to_open_registry_to_collect_files
lea ecx, [ebp - 0x24]
call fcn.004012e2
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
call fcn.004117b0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
jmp 0x42b1de
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 0x42af06
push str.Unable_to_query_registry_to_collect_files
lea ecx, [ebp - 0x24]
call fcn.004012e2
mov dword [ebp - 4], 1
jmp 0x42aebb
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a1
mov dword [ebp - 4], 2
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x14]
call fcn.004013a1
mov byte [ebp - 4], 3
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013a1
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.0040165f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040165f
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 0x42b1b4
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00407662
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00407662
push dword [0x4b7664]
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.0040737b
cmp eax, 0xffffffff
jne 0x42afc4
push dword [0x4b767c]
xor ecx, ecx
call fcn.0040737b
cmp eax, 0xffffffff
jne 0x42afc4
push str.armsvc.exe
xor ecx, ecx
call fcn.0040737b
cmp eax, 0xffffffff
je 0x42affb
push str.Skipping_ARM_file:
lea ecx, [ebp - 0x2c]
call fcn.004012e2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call main
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [ebp - 0x10]
call fcn.00401547
push str.logsession.dll
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.0040737b
cmp eax, 0xffffffff
je 0x42b037
push str.Skipping_file:
lea ecx, [ebp - 0x30]
call fcn.004012e2
mov eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
call main
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
jmp 0x42b070
push str..exe_.dll_.api_.x3d
lea ecx, [ebp - 0x10]
call fcn.004340dd
pop ecx
test eax, eax
jne 0x42b080
push str.Skipping_file_based_on_the_extension:
lea ecx, [ebp - 0x34]
call fcn.004012e2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 7
call main
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [ebp - 0x10]
call fcn.00401547
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
cmp dword [esi - 0xc], ebx
je 0x42b187
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b187
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
jne 0x42b0de
push str.No_registered_version___will_not_wait_for:
lea ecx, [ebp - 0x38]
call fcn.004012e2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 8
call main
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x42b187
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], edi
call fcn.0040165f
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.00407662
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x42b132
push str.Unable_to_get_installed_file_version___will_not_wait_for:
lea ecx, [ebp - 0x3c]
call fcn.004012e2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 9
call main
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
jmp 0x42b0d1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call main
pop ecx
pop ecx
test eax, eax
jne 0x42b171
push str.Update_file_version_is_not_newer___will_not_wait_for:
lea ecx, [ebp - 0x40]
call fcn.004012e2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xa
call main
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
jmp 0x42b0d1
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp - 0x5c]
call main
mov edi, 0x104
xor ebx, ebx
push dword [ebp - 0x20]
inc dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.0040165f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040165f
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 0x42af78
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
call fcn.00452a9c
ret