Function at 0x4099c3
Capabilities:
Check if file exists
Copy file
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe48
mov eax, dword [0x46053c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x20c]
push edi
xor esi, esi
push esi
push eax
call fcn.00428c30
push edi
lea eax, [ebp - 0xc34]
push esi
push eax
call fcn.00428c30
add esp, 0x18
lea eax, [ebp - 0x20c]
mov ebx, 0x104
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x409c45
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc34]
push ebx
push eax
call fcn.0042f41c
push str.Core.cab
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042f3a7
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409a6a
xor eax, eax
inc eax
jmp 0x409c47
push edi
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00428c30
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00428c30
push edi
lea eax, [ebp - 0x414]
mov dword [ebp - 0xe48], edi
push esi
push eax
call fcn.00428c30
push str.SOFTWAREAdobeAdobe_Acrobat_
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0042f41c
push 0x44c86c
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0042f3a7
push str.Installer
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0042f3a7
add esp, 0x48
lea eax, [ebp - 0xe40]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x414]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409afd
xor eax, eax
jmp 0x409c47
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0xa2c]
push eax
push esi
push esi
push str.CacheDir
push dword [ebp - 0xe40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xe40]
test eax, eax
je 0x409b30
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409af6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xe44]
mov dword [ebp - 0xe44], esi
push eax
lea eax, [ebp - 0xa2c]
push 0x44b148
push eax
call fcn.0042f559
push 0x208
mov edi, eax
lea eax, [ebp - 0xe3c]
push esi
push eax
call fcn.00428c30
add esp, 0x18
jmp 0x409bd8
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00428c30
push edi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0042f41c
push edi
lea eax, [ebp - 0xe3c]
push ebx
push eax
call fcn.0042f41c
push str.Core.cab
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0042f3a7
add esp, 0x30
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409bde
lea eax, [ebp - 0xe44]
push eax
push 0x44b148
push esi
call fcn.0042f559
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x409b6d
jmp 0x409bf5
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.0042f41c
add esp, 0xc
lea eax, [ebp - 0x824]
push eax
call fcn.0042c48c
pop ecx
test eax, eax
je 0x409c45
xor edi, edi
lea eax, [ebp - 0x20c]
inc edi
push edi
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xe3c]
push eax
call fcn.0040976d
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
cmovne esi, edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427b1a
leave
ret