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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a468
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x553948]
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 - 0x50], 0
mov eax, dword [0x5563e8]
lea esi, [eax + 4]
push esi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x4c], str.SoftwarePoliciesAdobeAcrobat_Reader11.0FeatureLockDown
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x51]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, str.SoftwarePoliciesAdobeAdobe_Acrobat11.0FeatureLockDown
test bl, bl
jne 0x42a036
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push 0x20019
xor edi, edi
push edi
push eax
push 0x80000002
mov dword [ebp - 0x54], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a213
mov eax, dword [ebp - 0x54]
cmp eax, edi
je 0x42a213
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x58]
push edx
push edi
push str.bUseWhitelistConfigFile
mov esi, 4
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebx, [edi + 1]
test eax, eax
jne 0x42a205
cmp dword [ebp - 0x58], esi
jne 0x42a205
cmp dword [ebp - 0x4c], edi
je 0x42a205
push str.ReaderProtectedModeWhitelistConfig.txt
lea ecx, [ebp - 0x48]
call fcn.00408ac0
mov ecx, dword [0x5563e8]
mov dword [ebp - 4], edi
call fcn.004615b4
test al, al
je 0x42a0d4
push str.AcrobatProtectedModeWhitelistConfig.txt
lea ecx, [ebp - 0x48]
call fcn.004187e0
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x42a0e4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004155f0
add esp, 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jae 0x42a0ff
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a188
call fcn.0040ee70
test eax, eax
jg 0x42a172
call fcn.0040ee70
test eax, eax
jg 0x42a15f
push edi
push 0x7e2
push str.policy_configurator.cpp
lea ecx, [ebp - 0x110]
call fcn.0045c530
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x18], esi
jae 0x42a144
lea ecx, [ebp - 0x2c]
push ecx
add eax, 8
push str.Found_custom_policy_file:
push eax
call fcn.00449da0
add esp, 8
push eax
call fcn.0045c5c0
add esp, 8
mov dword [ebp - 4], ebx
test byte [ebp - 0x50], bl
je 0x42a172
lea ecx, [ebp - 0x110]
call fcn.0045cab0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42a17d
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x60]
push eax
call fcn.0049e6e0
jmp 0x42a1f5
call fcn.0040ee70
test eax, eax
jg 0x42a1f5
call fcn.0040ee70
test eax, eax
jg 0x42a1e1
push edi
push 0x7e9
push str.policy_configurator.cpp
lea ecx, [ebp - 0x110]
call fcn.0045c530
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 2
cmp dword [ebp - 0x18], esi
jae 0x42a1c6
lea ecx, [ebp - 0x2c]
push ecx
add eax, 8
push str.Custom_policy_file_NOT_found:
push eax
call fcn.00449da0
add esp, 8
push eax
call fcn.0045c5c0
add esp, 8
test byte [ebp - 0x50], 2
mov dword [ebp - 4], ebx
je 0x42a1f5
lea ecx, [ebp - 0x110]
call fcn.0045cab0
lea ecx, [ebp - 0x2c]
call fcn.0040a440
lea ecx, [ebp - 0x48]
call fcn.0040a440
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x42a215
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.00401316
mov esp, ebp
pop ebp
ret