Function at 0x42d6b0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x43ffa8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.MSVCR120.dll_vsprintf]
add esp, 0xc
lea eax, [ebp - 0x60c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x437454
lea eax, [ebp - 0x60c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscat_s]
lea eax, [ebp - 0x60c]
push 0x437474
push eax
call dword [sym.imp.MSVCR120.dll__wfopen]
lea ecx, [ebp - 0x404]
add esp, 0x14
mov ebx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d726
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42d76a
lea eax, [edi + edi]
call fcn.00433750
mov esi, esp
test esi, esi
je 0x42d76a
push edi
push esi
xor eax, eax
push 0xffffffffffffffff
mov word [esi], ax
lea eax, [ebp - 0x404]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x42d76c
xor eax, eax
push eax
push ebx
call dword [sym.imp.MSVCR120.dll_fwprintf]
push ebx
call dword [sym.imp.MSVCR120.dll_fclose]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x610]
add esp, 0xc
mov dword [ebp - 0x618], 0x400
mov dword [ebp - 0x614], 0
push eax
push 0x20019
push 0
push str.SoftwareAdobeAdobe_AcrobatDCPrivate
push SysReAllocString
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d845
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x614]
push eax
push 0
push 0
push str.bAlertOnUnexpectedWrites
push dword [ebp - 0x610]
call ebx
test eax, eax
jne 0x42d839
cmp dword [ebp - 0x614], eax
je 0x42d839
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d7f4
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42d80c
xor eax, eax
jmp 0x42d826
lea eax, [esi + esi]
call fcn.00433750
mov eax, esp
lea ecx, [ebp - 0x404]
push 3
push esi
push ecx
push eax
call fcn.00429ec0
push 0x10000
push str.AcroBroker:_Unexpected_Write_Warning__
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x614], 0
jne 0x42d8f9
lea eax, [ebp - 0x610]
push eax
push 0x20019
push 0
push str.SoftwareAdobeAcrobat_ReaderDCPrivate
push SysReAllocString
call edi
test eax, eax
jne 0x42d8f9
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x614]
push eax
push 0
push 0
push str.bAlertOnUnexpectedWrites
push dword [ebp - 0x610]
call ebx
test eax, eax
jne 0x42d8ed
cmp dword [ebp - 0x614], eax
je 0x42d8ed
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d8a8
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42d8c0
xor eax, eax
jmp 0x42d8da
lea eax, [esi + esi]
call fcn.00433750
mov eax, esp
lea ecx, [ebp - 0x404]
push 3
push esi
push ecx
push eax
call fcn.00429ec0
push 0x10000
push str.AcroBroker:_Unexpected_Write_Warning__
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0x624]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043342a
mov esp, ebp
pop ebp
ret