Function at 0x406010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414894
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x41d048]
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 0x40604d
mov eax, 1
jmp 0x406341
mov eax, dword fs:[0x2c]
xor edi, edi
mov ecx, dword [0x41d554]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41d4b8]
cmp eax, dword [ecx + 4]
jg 0x40635c
cmp dword [0x41d4b4], 0
jne 0x406339
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 0x41702c
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 0x40624f
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 0x406246
cmp dword [ebp - 0x60], 1
jne 0x406246
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x406246
inc eax
push 0x41d4fd
push eax
call main
mov esi, eax
add esp, 8
test esi, esi
je 0x406246
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 0x4061b6
push esi
lea ecx, [ebp - 0x58]
call main
push esi
call fcn.004129a6
add esp, 4
lea ecx, [ebp - 0x58]
push 0
push str.AdobeID
call main
cmp eax, 0xffffffff
je 0x406246
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 0x406243
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 0x406233
cmp dword [ebp - 0x60], 4
je 0x40623a
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 0x40628d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x406283
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406329
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 0x4062db
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x4062d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406329
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 0x406339
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 6
cmp edx, 0x1000
jb 0x40632f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40632f
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.004129c0
mov esp, ebp
pop ebp
ret
push 0x41d4b8
call main
add esp, 4
cmp dword [0x41d4b8], 0xffffffff
jne 0x40606f
push 0
push str.bUsageMeasurement
mov dword [ebp - 4], 0
call main
push 0x41d4b8
mov dword [0x41d4b4], eax
mov dword [ebp - 4], 0xffffffff
call main
add esp, 0xc
jmp 0x40606f