Function at 0x406a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415319
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x41e04c]
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 0x406abd
mov eax, 1
jmp 0x406db1
mov eax, dword fs:[0x2c]
xor edi, edi
mov ecx, dword [0x41e574]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41e4cc]
cmp eax, dword [ecx + 4]
jg 0x406dcc
cmp dword [0x41e4c8], 0
jne 0x406da9
xor eax, eax
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x70], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push 0x23
push str.SoftwareAdobeCommonFilesUsageCC_
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
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], 2
push str.SoftwareAdobeAdobe_Acrobat_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call main
push 2
push 0x4180c4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call main
push 4
push str.IMS
lea ecx, [ebp - 0x28]
call main
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x68]
push ecx
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406cbf
lea eax, [ebp - 0x5c]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
push 0
push str.tClientGUID
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406cb6
cmp dword [ebp - 0x60], 1
jne 0x406cb6
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x406cb6
inc eax
push 0x418de0
push eax
call main
mov esi, eax
add esp, 8
test esi, esi
je 0x406cb6
mov ecx, dword [ebp - 0x5c]
inc ecx
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
push esi
push 0
push 0
push str.tClientGUID
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406c26
push esi
lea ecx, [ebp - 0x58]
call main
push esi
call fcn.00413716
add esp, 4
lea ecx, [ebp - 0x58]
push 0
push str.AdobeID
call main
cmp eax, 0xffffffff
je 0x406cb6
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
call main
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x6c]
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 0x406cb3
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push str.optin
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406ca3
cmp dword [ebp - 0x60], 4
je 0x406caa
mov dword [ebp - 0x64], 0xffffffff
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x64]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x406cfd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x406cf3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406d99
push edx
push ecx
call main
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x406d4b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x406d41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406d99
push edx
push ecx
call main
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x406da9
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 6
cmp edx, 0x1000
jb 0x406d9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406d9f
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.00413730
mov esp, ebp
pop ebp
ret
push 0x41e4cc
call main
add esp, 4
cmp dword [0x41e4cc], 0xffffffff
jne 0x406adf
push 0
push str.bUsageMeasurement
mov dword [ebp - 4], 0
call main
push 0x41e4cc
mov dword [0x41e4c8], eax
mov dword [ebp - 4], 0xffffffff
call main
add esp, 0xc
jmp 0x406adf