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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557d28
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5c7cec]
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 - 0x60], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], 0
mov edi, dword [0x5ccda4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], 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 - 0x50]
mov dword [ebp - 4], 0xffffffff
push eax
push 0x20019
mov ecx, str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov dword [ebp - 0x50], 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 0x439402
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x439402
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 - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4393f9
cmp dword [ebp - 0x14], 4
jne 0x4393f9
cmp dword [ebp - 0x18], eax
je 0x4393f9
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
push esi
push str.Reader_
push eax
call fcn.00410490
add esp, 0xc
mov ecx, dword [0x5ccda4]
mov dword [ebp - 4], 1
call fcn.00439422
test al, al
je 0x4392b2
push esi
lea eax, [ebp - 0x78]
push str.Acrobat_
push eax
call fcn.00410490
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.0042a225
lea ecx, [ebp - 0x78]
call fcn.00408e50
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00419f30
add esp, 8
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
call fcn.00414d00
test esi, esi
je 0x439377
test eax, eax
jg 0x439361
call fcn.00414d00
test eax, eax
jg 0x439347
push 0
push 0x94c
push str.d:dcbcbt_main_acrobat_viewerwin_sandbox_broker_serverpolicy_configurator.cpp
lea ecx, [ebp - 0x128]
call fcn.0048d090
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, 1
mov byte [ebp - 4], 3
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.00473f90
add esp, 8
push eax
call fcn.0048d680
add esp, 8
jmp 0x43934a
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 4], 2
test bl, 1
je 0x439361
lea ecx, [ebp - 0x128]
call fcn.0048d350
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00439450
jmp 0x4393e2
test eax, eax
jg 0x4393e2
call fcn.00414d00
test eax, eax
jg 0x4393cf
push 0
push 0x953
push str.d:dcbcbt_main_acrobat_viewerwin_sandbox_broker_serverpolicy_configurator.cpp
lea ecx, [ebp - 0x128]
call fcn.0048d090
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, 2
mov byte [ebp - 4], 4
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.00473f90
add esp, 8
push eax
call fcn.0048d680
add esp, 8
jmp 0x4393d2
mov ebx, dword [ebp - 0x54]
test bl, 2
je 0x4393e2
lea ecx, [ebp - 0x128]
call fcn.0048d350
lea ecx, [ebp - 0x30]
call fcn.00408e50
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00408e50
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.0040154f
mov esp, ebp
pop ebp
ret 8