Function at 0x4dc560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b8d8
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x596c60]
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 esi, ecx
push 0x20
xor eax, eax
mov dword [ebp - 0x30], 7
push str.SOFTWAREMcAfeeAVSolutionDSDS
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.0047c4b0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x4dc5c9
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x48]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4dc7af
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 4
push eax
push 0
push 0
push str.dwGTILogLevel
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4dc659
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx - 1]
cmp eax, 0x10
ja 0x4dc61e
mov dword [esi + 0x64], ecx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x30], 8
jb 0x4dc63d
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4dc63d
push eax
call fcn.00507b54
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.005072fd
mov esp, ebp
pop ebp
ret
mov eax, dword [0x59f554]
test al, 1
jne 0x4dc684
or eax, 1
mov dword [0x59f554], eax
mov byte [ebp - 4], 1
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x597f88]
test byte [eax + 0x1c], 2
je 0x4dc699
cmp byte [eax + 0x19], 6
jb 0x4dc699
mov al, 1
jmp 0x4dc69b
xor al, al
cmp byte [0x59f560], 0
jne 0x4dc6b5
cmp byte [0x59f561], 0
jne 0x4dc6b5
test al, al
je 0x4dc61e
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe8]
call fcn.0047b4d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004a1680
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
call fcn.0047ee50
mov edx, str.._telemetry.cpp
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
push 0x16d
mov ecx, eax
call fcn.0047b130
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
mov edx, str.Failed_to_read_TS_log_level
mov ecx, eax
call fcn.0047f0b0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0x10
jb 0x4dc73a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4dc73a
push eax
call fcn.00507b54
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0047b620
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x4dc757
mov esi, dword [esi]
call fcn.004a1320
push esi
push 6
mov ecx, eax
call fcn.004a1510
cmp dword [ebp - 0x18], 0x10
jb 0x4dc77c
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4dc77c
push eax
call fcn.00507b54
add esp, 4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0047b5a0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x56b700
push eax
call fcn.00528f2f
add esp, 4
jmp 0x4dc61e
mov eax, dword [0x59f554]
test al, 1
jne 0x4dc7da
or eax, 1
mov dword [0x59f554], eax
mov byte [ebp - 4], 7
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [0x597f88]
test byte [eax + 0x1c], 2
je 0x4dc7ef
cmp byte [eax + 0x19], 6
jb 0x4dc7ef
mov al, 1
jmp 0x4dc7f1
xor al, al
cmp byte [0x59f560], 0
jne 0x4dc80b
cmp byte [0x59f561], 0
jne 0x4dc80b
test al, al
je 0x4dc627
sub esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
call fcn.0047b4d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.004a1680
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.0047ee50
mov edx, str.._telemetry.cpp
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
push 0x173
mov ecx, eax
call fcn.0047b130
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
mov edx, str.Failed_to_open_reg_key
mov ecx, eax
call fcn.0047f0b0
lea edx, [ebp - 0x44]
mov ecx, eax
call fcn.004a1750
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0x10
jb 0x4dc89a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4dc89a
push eax
call fcn.00507b54
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0047b620
mov esi, eax
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 0x10
jb 0x4dc8b7
mov esi, dword [esi]
mov eax, dword [0x59f554]
test al, 1
jne 0x4dc8e2
or eax, 1
mov dword [0x59f554], eax
mov byte [ebp - 4], 0xc
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 0xb
push esi
push 6
mov ecx, 0x59f560
call fcn.004a1510
cmp dword [ebp - 0x18], 0x10
jb 0x4dc905
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4dc905
push eax
call fcn.00507b54
add esp, 4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
call fcn.0047b5a0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x56b700
push eax
call fcn.00528f2f
add esp, 4
jmp 0x4dc627