Function at 0x4059f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4131a0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call main
test eax, eax
je 0x405a30
mov eax, 1
jmp 0x405e12
push 0x26
xor eax, eax
mov dword [ebp - 0x90], 4
xor edi, edi
mov dword [ebp - 0x94], 4
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call main
push 2
push 0x415dd8
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
call main
push 0x10
push str.FeatureLockDown
lea ecx, [ebp - 0x58]
call main
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
xor esi, esi
push 1
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405afc
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x94]
push eax
push esi
push str.bUsageMeasurement
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405af0
cmp dword [ebp - 0x84], esi
mov eax, 1
cmove esi, eax
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 4], 1
cmp edx, 8
jb 0x405b3f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405b35
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
add esp, 8
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x405e0a
xor eax, eax
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x98], 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
push 0x23
push str.SoftwareAdobeCommonFilesUsageCC_
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call main
push 0x1d
xor eax, eax
mov byte [ebp - 4], 3
push str.SoftwareAdobeAdobe_Acrobat_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call main
push 2
push 0x415dd8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call main
push 4
push str.IMS
lea ecx, [ebp - 0x28]
call main
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x80]
push ecx
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405d25
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp - 0x78]
push eax
push esi
push str.tClientGUID
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405d1c
cmp dword [ebp - 0x78], 1
jne 0x405d1c
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x405d1c
inc eax
push 0x41b4b9
push eax
call main
mov esi, eax
add esp, 8
test esi, esi
je 0x405d1c
mov ecx, dword [ebp - 0x74]
inc ecx
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push esi
push 0
push 0
push str.tClientGUID
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405c80
push esi
lea ecx, [ebp - 0x70]
call main
push esi
call fcn.00411446
add esp, 4
lea ecx, [ebp - 0x70]
push 0
push str.AdobeID
call main
cmp eax, 0xffffffff
je 0x405d1c
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x40]
push eax
call main
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x8c]
push ecx
push 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405d19
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push str.optin
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405d06
cmp dword [ebp - 0x78], 4
je 0x405d0d
mov dword [ebp - 0x7c], 0xffffffff
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x7c]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x405d5f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405da3
push edx
push ecx
call main
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x405db3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405da9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405da9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 4], 7
cmp edx, 8
jb 0x405e0a
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405e00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405e00
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
add esp, 8
xor eax, eax
cmp edi, 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411460
mov esp, ebp
pop ebp
ret