Function at 0x42e090
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 0x4375d8
lea eax, [ebp - 0x60c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscat_s]
lea eax, [ebp - 0x60c]
push 0x4375f8
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 0x42e106
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42e14a
lea eax, [edi + edi]
call fcn.00433ec0
mov esi, esp
test esi, esi
je 0x42e14a
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 0x42e14c
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 0x42e225
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 0x42e219
cmp dword [ebp - 0x614], eax
je 0x42e219
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e1d4
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42e1ec
xor eax, eax
jmp 0x42e206
lea eax, [esi + esi]
call fcn.00433ec0
mov eax, esp
lea ecx, [ebp - 0x404]
push 3
push esi
push ecx
push eax
call fcn.0042aa20
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 0x42e2d9
lea eax, [ebp - 0x610]
push eax
push 0x20019
push 0
push str.SoftwareAdobeAcrobat_ReaderDCPrivate
push SysReAllocString
call edi
test eax, eax
jne 0x42e2d9
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 0x42e2cd
cmp dword [ebp - 0x614], eax
je 0x42e2cd
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e288
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42e2a0
xor eax, eax
jmp 0x42e2ba
lea eax, [esi + esi]
call fcn.00433ec0
mov eax, esp
lea ecx, [ebp - 0x404]
push 3
push esi
push ecx
push eax
call fcn.0042aa20
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.00433bb2
mov esp, ebp
pop ebp
ret