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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x441f9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push eax
call fcn.0041fc00
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
add esp, 0x1c
lea eax, [ebp - 0x60c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x438a3c
lea eax, [ebp - 0x60c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x60c]
push 0x438a5c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.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 0x42e088
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42e0cc
lea eax, [edi + edi]
call fcn.00434b20
mov esi, esp
test esi, esi
je 0x42e0cc
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 0x42e0ce
xor eax, eax
push eax
push ebx
call fcn.0042ea80
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0xc
mov dword [ebp - 0x618], 0x400
lea eax, [ebp - 0x614]
mov dword [ebp - 0x610], 0
push eax
push 0x20019
push 0
push str.SoftwareAdobeAdobe_AcrobatDCPrivate
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e1b6
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x610]
push eax
push 0
push 0
push str.bAlertOnUnexpectedWrites
push dword [ebp - 0x614]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e1aa
cmp dword [ebp - 0x610], eax
je 0x42e1aa
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e151
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42e195
lea eax, [edi + edi]
call fcn.00434b20
mov esi, esp
test esi, esi
je 0x42e195
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 0x42e197
xor eax, eax
push 0x10000
push str.AcroBroker:_Unexpected_Write_Warning__
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x614]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x610], 0
jne 0x42e286
lea eax, [ebp - 0x614]
push eax
push 0x20019
push 0
push str.SoftwareAdobeAcrobat_ReaderDCPrivate
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e286
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x610]
push eax
push 0
push 0
push str.bAlertOnUnexpectedWrites
push dword [ebp - 0x614]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e27a
cmp dword [ebp - 0x610], eax
je 0x42e27a
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e221
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42e265
lea eax, [edi + edi]
call fcn.00434b20
mov esi, esp
test esi, esi
je 0x42e265
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 0x42e267
xor eax, eax
push 0x10000
push str.AcroBroker:_Unexpected_Write_Warning__
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x614]
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.004345b0
mov esp, ebp
pop ebp
ret