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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov esi, esp
mov dword [esi + 0xf0], ebp
mov dword [esi + 0xf4], esp
mov dword [esi + 0x100], 0xffffffff
mov dword [esi + 0xfc], 0x5136d0
mov dword [esi + 0x28], ecx
lea eax, [esi + 0xf8]
mov ecx, dword fs:[0]
mov dword [esi + 0xf8], ecx
mov dword fs:[0], eax
mov edi, dword [0x6d1ebc]
lea ebx, [edi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [edi + 0x51]
mov dword [esi + 0x100], 0
mov byte [esi + 3], al
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 3], 0
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
mov ecx, str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov dword [esi + 4], 0
mov dword [esi + 0x100], 0xffffffff
cmove ecx, eax
lea eax, [esi + 4]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417dc2
mov eax, dword [esi + 4]
test eax, eax
je 0x417dc2
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x2c]
mov dword [esi + 0xc], 4
mov dword [esi + 8], 0
mov dword [esi + 0x2c], 4
lea edi, [esi + 8]
lea ebx, [esi + 0xc]
push edx
push edi
push ebx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417db9
cmp dword [esi + 0xc], 4
jne 0x417db9
cmp dword [esi + 8], 0
je 0x417db9
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 7
jbe 0x417c35
mov eax, dword [eax]
lea edi, [esi + 0x10]
push eax
push edi
call fcn.00415fb0
add esp, 8
cmp dword [esi + 0x24], 7
jbe 0x417c4b
mov edi, dword [esi + 0x10]
mov dword [esi + 0x100], 2
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417cc5
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x417d30
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x417d26
lea ecx, [esi + 0x30]
push 0
push 0xb34
push str.policy_configurator.cpp
call fcn.0041f9f0
lea eax, [esi + 0x40]
mov dword [esi + 0x100], 4
push str.Found_custom_policy_file:
push eax
call fcn.005df800
add esp, 8
cmp dword [esi + 0x24], 7
jbe 0x417d47
mov ecx, dword [esi + 0x10]
jmp 0x417d4a
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x417d78
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x417d3b
lea ecx, [esi + 0x30]
push 0
push 0xb3b
push str.policy_configurator.cpp
call fcn.0041f9f0
lea eax, [esi + 0x40]
mov dword [esi + 0x100], 3
push str.Custom_policy_file_NOT_found:
push eax
call fcn.005df800
add esp, 8
cmp dword [esi + 0x24], 7
jbe 0x417dda
mov ecx, dword [esi + 0x10]
jmp 0x417ddd
push 0
call fcn.00410ec0
add esp, 4
cmp dword [esi + 0x24], 7
jbe 0x417d62
mov eax, dword [esi + 0x10]
jmp 0x417d65
push 0
call fcn.00410ec0
add esp, 4
jmp 0x417d78
lea ecx, [esi + 0x10]
push ecx
push eax
call fcn.00424400
add esp, 8
lea ecx, [esi + 0x30]
call fcn.00424810
cmp dword [esi + 0x24], 7
ja 0x417d36
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x100], 2
push eax
call fcn.00417ee0
mov ecx, dword [esi + 0x24]
cmp ecx, 8
jb 0x417daf
mov eax, dword [esi + 0x10]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x417da5
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x417df1
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [esi + 0x100], 0xffffffff
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0xf8]
mov dword fs:[0], eax
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [esi + 0x10]
push ecx
push eax
call fcn.00424400
add esp, 8
lea ecx, [esi + 0x30]
call fcn.00424810
jmp 0x417d78
mov dword [esi + 0x100], 1
call fcn.006207e0
push ebp
sub esp, 0x18
lea esi, [ebp - 0x104]
mov ebp, dword [esi + 0xf0]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x18
lea esi, [ebp - 0x104]
mov ebp, dword [esi + 0xf0]
mov ecx, dword [esi + 0x24]
cmp ecx, 8
jb 0x417e67
mov eax, dword [esi + 0x10]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x417e5d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x417e6c
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x18
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax + eax]
push ebp
sub esp, 0x18
lea esi, [ebp - 0x104]
mov ebp, dword [esi + 0xf0]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x18
lea esi, [ebp - 0x104]
mov ebp, dword [esi + 0xf0]
lea ecx, [esi + 0x30]
call fcn.00424810
add esp, 0x18
pop ebp
ret