Function at 0x405e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413b64
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x41b048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00406340
test eax, eax
je 0x405e8d
mov eax, 1
jmp 0x406181
mov eax, dword fs:[0x2c]
xor edi, edi
mov ecx, dword [0x41b544]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41b4b0]
cmp eax, dword [ecx + 4]
jg 0x40619c
cmp dword [0x41b4ac], 0
jne 0x406179
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 fcn.00407fa0
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 fcn.00407fa0
push 2
push 0x415f84
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00407e20
push 4
push str.IMS
lea ecx, [ebp - 0x28]
call fcn.00407e20
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 0x40608f
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 0x406086
cmp dword [ebp - 0x60], 1
jne 0x406086
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x406086
inc eax
push 0x41b4ed
push eax
call fcn.00411ccb
mov esi, eax
add esp, 8
test esi, esi
je 0x406086
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 0x405ff6
push esi
lea ecx, [ebp - 0x58]
call fcn.00407f70
push esi
call fcn.00411cc6
add esp, 4
lea ecx, [ebp - 0x58]
push 0
push str.AdobeID
call fcn.004080f0
cmp eax, 0xffffffff
je 0x406086
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 fcn.00407e20
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 0x406083
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 0x406073
cmp dword [ebp - 0x60], 4
je 0x40607a
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 0x4060cd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x4060c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406169
push edx
push ecx
call fcn.00411d21
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 0x40611b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x406111
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406169
push edx
push ecx
call fcn.00411d21
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 0x406179
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 6
cmp edx, 0x1000
jb 0x40616f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40616f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411d21
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.00411ce0
mov esp, ebp
pop ebp
ret
push 0x41b4b0
call fcn.004120ba
add esp, 4
cmp dword [0x41b4b0], 0xffffffff
jne 0x405eaf
push 0
push str.bUsageMeasurement
mov dword [ebp - 4], 0
call fcn.004065a0
push 0x41b4b0
mov dword [0x41b4ac], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00412070
add esp, 0xc
jmp 0x405eaf