Function at 0x405830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411f90
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x41a044]
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 - 0x90], 0
call main
test eax, eax
jne 0x405c45
push 0x26
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x94], 4
mov dword [ebp - 0x98], 4
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call main
push 2
push 0x414c88
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
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]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x405945
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x98]
push eax
push esi
push str.bUsageMeasurement
push dword [ebp - 0x88]
call edi
test eax, eax
jne 0x40593d
cmp dword [ebp - 0x84], esi
mov eax, 1
cmove esi, eax
push dword [ebp - 0x88]
call ebx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 4], 1
cmp edx, 8
jb 0x405988
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40597e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40597e
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 0x405c45
xor eax, eax
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x9c], 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 0x414c88
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 0x405b60
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp - 0x78]
push eax
push esi
push str.tClientGUID
push dword [ebp - 0x80]
call edi
test eax, eax
jne 0x405b5b
cmp dword [ebp - 0x78], 1
jne 0x405b5b
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x405b5b
inc eax
push 0x41a4b9
push eax
call main
mov esi, eax
add esp, 8
test esi, esi
je 0x405b5b
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 edi
test eax, eax
jne 0x405ac1
push esi
lea ecx, [ebp - 0x70]
call main
push esi
call fcn.0041031c
add esp, 4
lea ecx, [ebp - 0x70]
push 0
push str.AdobeID
call main
cmp eax, 0xffffffff
je 0x405b5b
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 0x405b52
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push str.optin
push dword [ebp - 0x8c]
call edi
test eax, eax
jne 0x405b43
cmp dword [ebp - 0x78], 4
je 0x405b4a
mov dword [ebp - 0x7c], 0xffffffff
push dword [ebp - 0x8c]
call ebx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
push dword [ebp - 0x80]
call ebx
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x405b9a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405bde
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 0x405bee
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405be4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405be4
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 0x405c45
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405c3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405c3b
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 dword [ebp - 0x90], 1
sete al
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.0041032a
mov esp, ebp
pop ebp
ret