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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x442f98]
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.0041feb0
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 0x439a60
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 0x439a80
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 0x42e678
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42e6bc
lea eax, [edi + edi]
call fcn.00435230
mov esi, esp
test esi, esi
je 0x42e6bc
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 0x42e6be
xor eax, eax
push eax
push ebx
call fcn.0042f090
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 0x42e792
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 0x42e786
cmp dword [ebp - 0x610], eax
je 0x42e786
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e741
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42e759
xor eax, eax
jmp 0x42e773
lea eax, [esi + esi]
call fcn.00435230
mov eax, esp
lea ecx, [ebp - 0x404]
push 3
push esi
push ecx
push eax
call fcn.0042aeb0
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 0x42e851
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 0x42e851
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 0x42e845
cmp dword [ebp - 0x610], eax
je 0x42e845
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e800
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42e818
xor eax, eax
jmp 0x42e832
lea eax, [esi + esi]
call fcn.00435230
mov eax, esp
lea ecx, [ebp - 0x404]
push 3
push esi
push ecx
push eax
call fcn.0042aeb0
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.00434ca0
mov esp, ebp
pop ebp
ret