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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d1e0
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5edd38]
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 - 0x48], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], 0
mov edi, dword [0x5f3910]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x49]
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
push eax
push 0x20019
mov ecx, str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov dword [ebp - 0x38], 0
test bl, bl
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
push 0
cmovne eax, ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420a12
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x420a12
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 dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420a09
cmp dword [ebp - 0x14], 4
jne 0x420a09
cmp dword [ebp - 0x18], eax
je 0x420a09
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 8
jb 0x4208cf
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00419810
add esp, 8
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42098a
call fcn.00414d40
test eax, eax
jg 0x420974
call fcn.00414d40
test eax, eax
jg 0x42095a
push 0
push 0xaa9
push str.D:DCBCBT_MainAcrobatViewerwin_sandbox_broker_serverpolicy_configurator.cpp
lea ecx, [ebp - 0xf8]
call fcn.00496330
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 - 0x3c], ebx
call fcn.0047a5e0
add esp, 8
push eax
call fcn.004968a0
add esp, 8
jmp 0x42095d
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
test bl, 1
je 0x420974
lea ecx, [ebp - 0xf8]
call fcn.004965b0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00420c80
jmp 0x4209fa
call fcn.00414d40
test eax, eax
jg 0x4209fa
call fcn.00414d40
test eax, eax
jg 0x4209e7
push 0
push 0xab0
push str.D:DCBCBT_MainAcrobatViewerwin_sandbox_broker_serverpolicy_configurator.cpp
lea ecx, [ebp - 0xf8]
call fcn.00496330
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 - 0x3c], ebx
call fcn.0047a5e0
add esp, 8
push eax
call fcn.004968a0
add esp, 8
jmp 0x4209ea
mov ebx, dword [ebp - 0x3c]
test bl, 2
je 0x4209fa
lea ecx, [ebp - 0xf8]
call fcn.004965b0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a280
push dword [ebp - 0x38]
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.00401682
mov esp, ebp
pop ebp
ret 8