Function at 0x475fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58902c
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.00556260
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 0x4760a7
cmp dword [ebp - 0x238], 0
jne 0x476201
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 0x476201
cmp dword [ebp - 0x238], 0
je 0x476201
push str.E:BT4890157e_a198_48d8_a35b_8188c1003801Freetools_srcMcEventsTrackerMcCommonHelper.cpp
push str.McCommonHelper::GetMcAfeeVPNSubscriptionStatus
push 0x592
push 3
lea ecx, [ebp - 0x234]
call fcn.00422770
mov byte [ebp - 4], 1
push str.McAfee_Safe_Connect_registry_key_is_present
push dword [eax]
call fcn.00426d40
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x234]
call fcn.004241f0
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 0x4761cc
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476140
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00425810
push str.E:BT4890157e_a198_48d8_a35b_8188c1003801Freetools_srcMcEventsTrackerMcCommonHelper.cpp
push str.McCommonHelper::GetMcAfeeVPNSubscriptionStatus
push 0x596
push 3
lea ecx, [ebp - 0x234]
call fcn.00422770
mov byte [ebp - 4], 3
push str.SubscriptionType_is_present_and_value_is
push dword [eax]
call fcn.00426d40
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push ecx
push eax
call fcn.004270d0
add esp, 0x10
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x234]
call fcn.004241f0
mov eax, dword [ebp - 0x234]
add eax, 0x14
push eax
call esi
jmp 0x47624f
push str.E:BT4890157e_a198_48d8_a35b_8188c1003801Freetools_srcMcEventsTrackerMcCommonHelper.cpp
push str.McCommonHelper::GetMcAfeeVPNSubscriptionStatus
push 0x59a
push 4
lea ecx, [ebp - 0x234]
call fcn.00422770
mov byte [ebp - 4], 5
push str.SubscriptionType_is_not_present_in_registry
push dword [eax]
call fcn.00426d40
add esp, 8
mov byte [ebp - 4], 6
jmp 0x4761b0
push str.E:BT4890157e_a198_48d8_a35b_8188c1003801Freetools_srcMcEventsTrackerMcCommonHelper.cpp
push str.McCommonHelper::GetMcAfeeVPNSubscriptionStatus
push 0x59f
push 4
lea ecx, [ebp - 0x234]
call fcn.00422770
mov byte [ebp - 4], 7
push str.McAfee_Safe_Connect_registry_key_is_not_present
push dword [eax]
call fcn.00426d40
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x234]
call fcn.004241f0
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 0x47627e
lea eax, [ebp - 0x230]
cmp edi, eax
je 0x47627e
cmp dword [ebp - 0x21c], 8
mov ecx, edi
push edx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00425810
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x476299
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x230]
call fcn.004257b0
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.00553daa
mov esp, ebp
pop ebp
ret 4