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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x442f9c]
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.0041fe00
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 0x439b24
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 0x439b44
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 0x42e288
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42e2cc
lea eax, [edi + edi]
call fcn.00434cf0
mov esi, esp
test esi, esi
je 0x42e2cc
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 0x42e2ce
xor eax, eax
push eax
push ebx
call fcn.0042ec80
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 0x42e3b6
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 0x42e3aa
cmp dword [ebp - 0x610], eax
je 0x42e3aa
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e351
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42e395
lea eax, [edi + edi]
call fcn.00434cf0
mov esi, esp
test esi, esi
je 0x42e395
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 0x42e397
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 0x42e486
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 0x42e486
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 0x42e47a
cmp dword [ebp - 0x610], eax
je 0x42e47a
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e421
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x42e465
lea eax, [edi + edi]
call fcn.00434cf0
mov esi, esp
test esi, esi
je 0x42e465
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 0x42e467
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.00434750
mov esp, ebp
pop ebp
ret