Function at 0x429310
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503bb8
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 0
mov edi, dword [0x55b408]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x49]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
mov dword [ebp - 0x50], 0
mov ecx, str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
mov eax, 0x530bb8
cmove eax, ecx
lea ecx, [ebp - 0x50]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429576
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x429576
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], 4
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], 4
push ecx
push 0
push str.bUseWhitelistConfigFile
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42956d
cmp dword [ebp - 0x14], 4
jne 0x42956d
cmp dword [ebp - 0x18], eax
je 0x42956d
push str.ReaderProtectedModeWhitelistConfig.txt
lea ecx, [ebp - 0x4c]
call fcn.00407370
mov ecx, dword [0x55b408]
mov dword [ebp - 4], 0
call fcn.004672ec
test al, al
je 0x42941c
push str.AcrobatProtectedModeWhitelistConfig.txt
lea ecx, [ebp - 0x4c]
call fcn.00412520
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00418230
add esp, 8
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4294df
call fcn.00410920
test eax, eax
jg 0x4294c9
call fcn.00410920
test eax, eax
jg 0x4294af
push 0
push 0x87c
push str.policy_configurator.cpp
lea ecx, [ebp - 0x108]
call fcn.00461ff0
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, 1
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x30]
add eax, 8
push ecx
push str.Found_custom_policy_file:
push eax
mov dword [ebp - 0x54], ebx
call fcn.004506c0
add esp, 8
push eax
call fcn.00462450
add esp, 8
jmp 0x4294b2
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 4], 1
test bl, 1
je 0x4294c9
lea ecx, [ebp - 0x108]
call fcn.00462150
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004a1c80
jmp 0x429556
call fcn.00410920
test eax, eax
jg 0x429556
call fcn.00410920
test eax, eax
jg 0x42953c
push 0
push 0x883
push str.policy_configurator.cpp
lea ecx, [ebp - 0x108]
call fcn.00461ff0
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, 2
mov byte [ebp - 4], 3
cmovae ecx, dword [ebp - 0x30]
add eax, 8
push ecx
push str.Custom_policy_file_NOT_found:
push eax
mov dword [ebp - 0x54], ebx
call fcn.004506c0
add esp, 8
push eax
call fcn.00462450
add esp, 8
jmp 0x42953f
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 4], 1
test bl, 2
je 0x429556
lea ecx, [ebp - 0x108]
call fcn.00462150
lea ecx, [ebp - 0x30]
call fcn.00408450
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00408450
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret