Function at 0x4db630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54afa0
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x595c60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0
call fcn.00509976
add esp, 4
mov dword [ebp - 0x3c], edx
mov esi, eax
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push str.SOFTWAREMcAfeeAVSolutionInstallHistory
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4db83c
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 8
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push str.InstallTime
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4db834
mov eax, dword [0x59e598]
test al, 1
jne 0x4db6ef
or eax, 1
mov dword [0x59e598], eax
mov dword [ebp - 4], 0
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x4db704
cmp byte [eax + 0x19], 6
jb 0x4db704
mov al, 1
jmp 0x4db706
xor al, al
cmp byte [0x59e5a8], 0
jne 0x4db720
cmp byte [0x59e5a9], 0
jne 0x4db720
test al, al
je 0x4db812
sub esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.0047b550
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.0047eed0
mov edx, str.._telemetry.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x13d
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.Failed_to_read_last_install_time
mov ecx, eax
call fcn.0047f130
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x4db7a8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4db7a8
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xd8]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x4db7c5
mov esi, dword [esi]
call fcn.004a0950
push esi
push 6
mov ecx, eax
call fcn.004a0b40
cmp dword [ebp - 0x18], 0x10
jb 0x4db7ea
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4db7ea
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.0047b620
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00506c7d
mov esp, ebp
pop ebp
ret
sub esi, dword [ebp - 0x40]
mov dword [edi + 0x48], esi
jmp 0x4db812
mov eax, dword [0x59e598]
test al, 1
jne 0x4db86d
or eax, 1
mov dword [0x59e598], eax
mov dword [ebp - 4], 6
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x4db882
cmp byte [eax + 0x19], 6
jb 0x4db882
mov al, 1
jmp 0x4db884
xor al, al
cmp byte [0x59e5a8], 0
jne 0x4db89e
cmp byte [0x59e5a9], 0
jne 0x4db89e
test al, al
je 0x4db812
sub esp, 8
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x170]
call fcn.0047b550
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x170]
call fcn.0047eed0
mov edx, str.._telemetry.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x146
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.Failed_to_open_reg_key
mov ecx, eax
call fcn.0047f130
mov edx, str.SOFTWAREMcAfeeAVSolutionInstallHistory
mov ecx, eax
call fcn.004a0e50
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0x10
jb 0x4db932
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4db932
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x170]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 0x10
jb 0x4db94f
mov esi, dword [esi]
mov eax, dword [0x59e598]
test al, 1
jne 0x4db97a
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0xb
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0xa
push esi
push 6
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp - 0x18], 0x10
jb 0x4db99d
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4db99d
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 7
call fcn.0047b620
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
jmp 0x4db812