Function at 0x475ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588b6c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x238], 0
call fcn.00556180
xor eax, eax
mov dword [ebp - 0x230], 0
add esp, 0xc
mov dword [ebp - 0x23c], 0x208
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x238]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push str.SOFTWAREMcAfee_Safe_Connect
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x475fc7
cmp dword [ebp - 0x238], 0
jne 0x476121
lea eax, [ebp - 0x238]
push eax
push 0x20119
push 0
push str.SOFTWAREMcAfee_Safe_Connect
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x476121
cmp dword [ebp - 0x238], 0
je 0x476121
push str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcEventsTrackerMcCommonHelper.cpp
push str.McCommonHelper::GetMcAfeeVPNSubscriptionStatus
push 0x590
push 3
lea ecx, [ebp - 0x234]
call fcn.004226f0
mov byte [ebp - 4], 1
push str.McAfee_Safe_Connect_registry_key_is_present
push dword [eax]
call fcn.00426cc0
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x234]
call fcn.00424170
mov eax, dword [ebp - 0x234]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call esi
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.SubscriptionType
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4760ec
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476060
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00425790
push str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcEventsTrackerMcCommonHelper.cpp
push str.McCommonHelper::GetMcAfeeVPNSubscriptionStatus
push 0x594
push 3
lea ecx, [ebp - 0x234]
call fcn.004226f0
mov byte [ebp - 4], 3
push str.SubscriptionType_is_present_and_value_is
push dword [eax]
call fcn.00426cc0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push ecx
push eax
call fcn.00427050
add esp, 0x10
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x234]
call fcn.00424170
mov eax, dword [ebp - 0x234]
add eax, 0x14
push eax
call esi
jmp 0x47616f
push str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcEventsTrackerMcCommonHelper.cpp
push str.McCommonHelper::GetMcAfeeVPNSubscriptionStatus
push 0x598
push 4
lea ecx, [ebp - 0x234]
call fcn.004226f0
mov byte [ebp - 4], 5
push str.SubscriptionType_is_not_present_in_registry
push dword [eax]
call fcn.00426cc0
add esp, 8
mov byte [ebp - 4], 6
jmp 0x4760d0
push str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcMcEventsTrackerMcCommonHelper.cpp
push str.McCommonHelper::GetMcAfeeVPNSubscriptionStatus
push 0x59d
push 4
lea ecx, [ebp - 0x234]
call fcn.004226f0
mov byte [ebp - 4], 7
push str.McAfee_Safe_Connect_registry_key_is_not_present
push dword [eax]
call fcn.00426cc0
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x234]
call fcn.00424170
mov eax, dword [ebp - 0x234]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x47619e
lea eax, [ebp - 0x230]
cmp edi, eax
je 0x47619e
cmp dword [ebp - 0x21c], 8
mov ecx, edi
push edx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00425790
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4761b9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x230]
call fcn.00425730
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.00553cca
mov esp, ebp
pop ebp
ret 4