Function at 0x4014ce
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x411980
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push esi
push edi
lea eax, [esp + 0x14]
push eax
push str.SoftwareAdobeAcrobat_DistillerAdobePDFSettings
push SysFreeString
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411ab2
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push eax
call esi
mov ecx, dword [esp + 0x10]
add ecx, 0x104
push ecx
call fcn.00448e8d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x411b6a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 0x49af18
push SysFreeString
call ebp
test eax, eax
jne 0x411a9e
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x24]
push str.JobOptionsFolder
push eax
call esi
mov ecx, dword [esp + 0x10]
add ecx, 0x104
push ecx
call fcn.00448e8d
mov edi, eax
add esp, 4
test edi, edi
je 0x411b61
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x20]
push eax
push 0
push str.JobOptionsFolder
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call fcn.00448297
add esp, 8
test eax, eax
je 0x411a95
mov dword [esp + 0x1c], 1
push edi
call fcn.00446ff8
add esp, 4
push ebx
call fcn.00446ff8
add esp, 4
cmp dword [esp + 0x1c], 0
jne 0x411be3
lea eax, [esp + 0x14]
push eax
push str.SoftwareAdobeAcrobat_Distiller10.0InstallPath
push SysFreeString
call ebp
test eax, eax
jne 0x411be3
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push eax
push eax
mov eax, dword [esp + 0x28]
push eax
call esi
mov ecx, dword [esp + 0x10]
add ecx, 0x104
push ecx
call fcn.00448e8d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x411b6a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ecx
call esi
lea edx, [esp + 0x20]
push edx
push str.SoftwareAdobeAcrobat_Distiller10.0InstallPath
push SysFreeString
call ebp
test eax, eax
jne 0x411bc3
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push edx
call esi
mov eax, dword [esp + 0x10]
add eax, 0x104
push eax
call fcn.00448e8d
mov edi, eax
add esp, 4
test edi, edi
jne 0x411b74
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00446ff8
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call fcn.00448297
add esp, 8
test eax, eax
je 0x411bba
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push edi
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.00446ff8
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00446ff8
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
pop esi
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
add esp, 0x14
ret