Function at 0x42a780
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b50e4
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4f0108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x234], edi
xor eax, eax
mov dword [ebp - 0x248], eax
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x4fbb5c
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edx], ecx
sub eax, 0
je 0x42a7e7
sub eax, 1
jne 0x42ac00
push eax
call ebx
jmp 0x42a7c4
push 0x80
call fcn.00479023
mov dword [ebp - 0x23c], eax
push 0x4c
mov dword [ebp - 4], 0
call fcn.00479023
mov ebx, eax
add esp, 8
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 1
mov ecx, dword fs:[0x2c]
mov eax, dword [0x4fbb20]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 8]
jg 0x42b549
push 8
mov dword [ebx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00479023
mov esi, eax
push 1
mov byte [ebp - 4], 3
call fcn.0047a7e0
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x238]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x248], ebx
mov ebx, dword [ebp - 0x238]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x248]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x238]
mov dword [edi], 0
mov dword [edx], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov byte [ebp - 4], 4
mov dword [ebx], vtable.logstreambuf.0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov ecx, dword [0x4fbb50]
test ecx, ecx
je 0x42a8ee
mov eax, dword [ecx]
jmp 0x42aa33
push 0x1c
push 0x4fbb24
push 0x4fbb24
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [0x4fbb0c], 8
mov edi, 0x4fbaf8
mov eax, dword [0x4fbb28]
cmovae edi, dword [0x4fbaf8]
mov dword [ebp - 0x248], eax
mov dword [0x4fbb50], 0
test edi, edi
je 0x42a937
xor eax, eax
cmp ax, word [edi]
je 0x42aa36
push 0x4c037c
push 0x45c
call fcn.00479053
mov esi, eax
add esp, 8
mov dword [ebp - 0x240], esi
test esi, esi
je 0x42a9f3
mov dword [esi], vtable.CMcFileLog.0
mov dword [esi + 0x458], 0x4088f3
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x43c], 0x25800
mov dword [esi + 0x440], 3
mov dword [esi + 0x444], 3
mov dword [esi + 0x448], 0x10
mov dword [esi + 0x454], 1
mov dword [esi + 0x44c], 0
mov dword [esi + 0x450], 0
mov dword [esi + 0x438], 0
jmp 0x42a9f5
xor esi, esi
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x42aa36
push 0
push dword [ebp - 0x248]
mov ecx, esi
push edi
call fcn.00408a4e
mov ecx, esi
test eax, eax
je 0x42aa21
mov eax, dword [esi]
push 1
call dword [eax]
jmp 0x42aa36
mov dword [0x4fbb50], esi
mov eax, dword [esi]
mov dword [ebp - 0x250], 0
call dword [eax + 0x28]
mov edi, dword [ebp - 0x23c]
mov eax, dword [0x4fbb50]
mov dword [ebx + 0x44], eax
mov dword [edi], 0x4cdc00
mov dword [edi + 0x40], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x38], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 6
mov eax, 1
mov dword [ebp - 0x248], eax
mov eax, dword [edi]
push 8
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
mov dword [ebp - 0x238], eax
mov dword [eax + 0x30], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x201
mov dword [eax + 0x18], 6
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0xc], 0
call fcn.00479023
mov esi, eax
push 1
mov dword [ebp - 4], 8
call fcn.0047a7e0
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x238]
mov dword [eax + 0x30], esi
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x240], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 9
push eax
call fcn.0040bae5
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
push 0x20
call dword [eax + 0x30]
movzx eax, ax
mov ecx, esi
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 7
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x42ab6d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x250]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x42ab9a
mov eax, dword [ecx + 0xc]
and eax, 0x13
or eax, 4
mov dword [ecx + 0xc], eax
mov ecx, dword [ecx + 0x10]
and ecx, eax
jne 0x42b5db
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.logstream.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x38]
mov dword [ecx + edi - 4], eax
lea eax, [edi + 0x14]
mov dword [edi + 4], 1
push eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 0x48], edi
mov ecx, 2
mov dword [0x4fbb14], edi
mov eax, 1
mov edx, 0x4fbb5c
lock cmpxchg dword [edx], ecx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x234]
mov esi, dword [0x4fbb14]
mov dword [ebp - 0x240], esi
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x250], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 4], 3
mov dword [esi + 8], 0x2a8
mov dword [esi + 0xc], str.GetSiteAdvisorStatus
mov dword [esi + 0x10], str.E:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
mov edx, str.Entering_GetSiteAdvisorStatus
mov dword [ebp - 4], 0xa
mov ecx, esi
call fcn.0041228b
sub esp, 0xc
mov dword [ebp - 4], 0xb
mov ecx, esi
call fcn.00410e1e
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 0x38]
mov dword [ebp - 0x23c], eax
test eax, eax
je 0x42acfa
push esi
lea ecx, [ebp - 0x244]
call fcn.00411723
cmp byte [ebp - 0x240], 0
je 0x42acc6
mov ecx, dword [ebp - 0x23c]
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, 0xffffffff
jne 0x42acc6
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
and eax, 0x13
or eax, 4
mov dword [ecx + esi + 0xc], eax
mov ecx, dword [ecx + esi + 0x10]
and ecx, eax
je 0x42acc6
test cl, 4
je 0x42b5e7
mov esi, str.ios_base::badbit_set
jmp 0x42b5f7
mov byte [ebp - 4], 0xc
call fcn.0047b27a
test al, al
jne 0x42acde
mov ecx, dword [ebp - 0x244]
call fcn.00412054
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x244]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx + 0x38]
test ecx, ecx
je 0x42acfa
mov eax, dword [ecx]
call dword [eax + 8]
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x208
add edi, 0xc
push 0
push edi
call fcn.0047fc40
mov esi, dword [ebp - 0x234]
push 0x208
add esi, 0x214
push 0
push esi
call fcn.0047fc40
mov eax, dword [ebp - 0x234]
push 0x208
add eax, 0x41c
push 0
push eax
call fcn.0047fc40
mov eax, dword [ebp - 0x234]
push 0x208
push 0
mov dword [ebp - 0x24c], 0
mov dword [eax + 8], 0
mov dword [eax + 0x624], 0
lea eax, [ebp - 0x218]
push eax
call fcn.0047fc40
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x258], 0x208
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x234]
push 0x4d6824
push 0x104
push esi
mov dword [eax], 1
mov dword [eax + 4], 1
call fcn.00481fd2
push str.WebAdvisor
push 0x104
push edi
call fcn.00481fd2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x24c]
add esp, 0x48
push eax
push 0x20019
push 0
push str.SOFTWAREMcAfeeWebAdvisor
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x42ae3c
cmp dword [ebp - 0x24c], 0
jne 0x42b38e
lea eax, [ebp - 0x24c]
push eax
push 0x20119
push 0
push str.SOFTWAREMcAfeeWebAdvisor
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x42b38e
cmp dword [ebp - 0x24c], 0
je 0x42b38e
nop dword [eax]
mov ecx, 1
xor eax, eax
mov edx, 0x4fbb5c
lock cmpxchg dword [edx], ecx
sub eax, 0
je 0x42ae73
sub eax, 1
jne 0x42b20d
push eax
call ebx
jmp 0x42ae50
push 0x80
call fcn.00479023
mov dword [ebp - 0x240], eax
push 0x4c
mov byte [ebp - 4], 0xf
call fcn.00479023
mov ebx, eax
add esp, 8
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 0x10
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4fbb20]
cmp eax, dword [ecx + 8]
jg 0x42b626
push 8
mov dword [ebx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00479023
mov esi, eax
push 1
mov byte [ebp - 4], 0x12
call fcn.0047a7e0
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x238]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x23c], ebx
mov ebx, dword [ebp - 0x238]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x23c]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x238]
mov dword [edi], 0
mov dword [edx], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov byte [ebp - 4], 0x13
mov dword [ebx], vtable.logstreambuf.0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov ecx, dword [0x4fbb50]
test ecx, ecx
je 0x42af76
mov eax, dword [ecx]
jmp 0x42b0bb
push 0x1c
push 0x4fbb24
push 0x4fbb24
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [0x4fbb0c], 8
mov edi, 0x4fbaf8
mov eax, dword [0x4fbb28]
cmovae edi, dword [0x4fbaf8]
mov dword [ebp - 0x23c], eax
mov dword [0x4fbb50], 0
test edi, edi
je 0x42afbf
xor eax, eax
cmp ax, word [edi]
je 0x42b0be
push 0x4c037c
push 0x45c
call fcn.00479053
mov esi, eax
add esp, 8
mov dword [ebp - 0x250], esi
test esi, esi
je 0x42b07b
mov dword [esi], vtable.CMcFileLog.0
mov dword [esi + 0x458], 0x4088f3
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x43c], 0x25800
mov dword [esi + 0x440], 3
mov dword [esi + 0x444], 3
mov dword [esi + 0x448], 0x10
mov dword [esi + 0x454], 1
mov dword [esi + 0x44c], 0
mov dword [esi + 0x450], 0
mov dword [esi + 0x438], 0
jmp 0x42b07d
xor esi, esi
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 0x14
test esi, esi
je 0x42b0be
push 0
push dword [ebp - 0x23c]
mov ecx, esi
push edi
call fcn.00408a4e
mov ecx, esi
test eax, eax
je 0x42b0a9
mov eax, dword [esi]
push 1
call dword [eax]
jmp 0x42b0be
mov dword [0x4fbb50], esi
mov eax, dword [esi]
mov dword [ebp - 0x250], 0
call dword [eax + 0x28]
mov edi, dword [ebp - 0x240]
mov eax, dword [0x4fbb50]
mov dword [ebx + 0x44], eax
mov dword [edi], 0x4cdc00
mov dword [edi + 0x40], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x38], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x15
or dword [ebp - 0x248], 4
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [edi + ecx - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
mov dword [ebp - 0x23c], esi
call fcn.004063af
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 0
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x250], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x254]
mov dword [ebp - 4], 0x17
push eax
call fcn.0040bae5
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
push 0x20
call dword [eax + 0x30]
movzx eax, ax
mov ecx, esi
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x16
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x42b188
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x250]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x42b1ac
mov eax, dword [ecx + 0xc]
push 0
or eax, 4
push eax
call fcn.00406345
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.logstream.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x38]
mov dword [edi + ecx - 4], eax
lea eax, [edi + 0x14]
mov dword [edi + 4], 1
push eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 0x48], edi
mov eax, 1
mov dword [ebp - 4], 0xf
mov ecx, 2
mov dword [0x4fbb14], edi
mov edx, 0x4fbb5c
lock cmpxchg dword [edx], ecx
mov esi, dword [0x4fbb14]
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x240], esi
lea edi, [esi + 0x14]
push edi
call eax
mov dword [esi + 4], 3
mov dword [esi + 8], 0x2bd
mov dword [esi + 0xc], str.GetSiteAdvisorStatus
mov dword [esi + 0x10], str.E:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
mov edx, str.WebAdvisor_registry_key_is_present__look_for_Install_Dir
mov byte [ebp - 4], 0x18
mov ecx, esi
call fcn.0041228b
sub esp, 0xc
mov byte [ebp - 4], 0x19
mov ecx, esi
call fcn.00410e1e
mov ecx, esi
call fcn.00410dbf
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.Install_Dir
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b367
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b2a5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b279
cmp dword [ebp - 0x220], 0
lea ecx, [ebp - 0x240]
push str.E:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
push str.GetSiteAdvisorStatus
je 0x42b337
mov ebx, dword [ebp - 0x234]
push 0x2c4
push 3
mov dword [ebx], 3
call fcn.0040d1be
mov byte [ebp - 4], 0x1a
mov edx, str.WebAdvisor_Install_Dir_is_present__value_is
mov ecx, dword [eax]
call fcn.0041228b
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x230]
mov ecx, eax
cmovae edx, dword [ebp - 0x230]
call fcn.004124b8
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xe
call fcn.0040d1fc
jmp 0x42b3fb
push 0x2c8
push 4
call fcn.0040d1be
mov byte [ebp - 4], 0x1b
mov edx, str.WebAdvisor_Insall_Dir_is_empty
mov ecx, dword [eax]
call fcn.0041228b
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xe
call fcn.0040d1fc
jmp 0x42b3f5
push str.E:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
push str.GetSiteAdvisorStatus
push 0x2cd
push 4
lea ecx, [ebp - 0x240]
call fcn.0040d1be
mov byte [ebp - 4], 0x1c
mov edx, str.WebAdvisor_Install_Dir_Name_is_not_present_in_registry__so_considering_webadvisor_is_not_installed
jmp 0x42b34c
mov cl, 1
call fcn.0040a355
mov esi, dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x240], esi
lea edi, [esi + 0x14]
push edi
call eax
mov dword [esi + 4], 4
mov dword [esi + 8], 0x2d2
mov dword [esi + 0xc], str.GetSiteAdvisorStatus
mov dword [esi + 0x10], str.E:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
mov edx, str.Webadvisor_is_not_installed
mov byte [ebp - 4], 0x1d
mov ecx, esi
call fcn.0041228b
sub esp, 0xc
mov byte [ebp - 4], 0x1e
mov ecx, esi
call fcn.00410e1e
mov ecx, esi
call fcn.00410dbf
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call eax
mov byte [ebp - 4], 0xe
mov ebx, dword [ebp - 0x234]
cmp dword [ebp - 0x220], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x42b4de
push 6
mov dword [ebp - 0x234], 0
call fcn.0046f750
add esp, 4
test eax, eax
je 0x42b447
push str.Checking_WebAdvisor_key_at_uninstall_path
push 0x2d8
push str.GetSiteAdvisorStatus
mov edx, str.E:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
mov ecx, 6
call fcn.004239b0
add esp, 0xc
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall35ED3F83_4BDC_4c44_8EC6_6A8301C7413A
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x42b493
mov eax, dword [ebp - 0x234]
test eax, eax
jne 0x42b4db
lea eax, [ebp - 0x234]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall35ED3F83_4BDC_4c44_8EC6_6A8301C7413A
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x42b4d1
cmp dword [ebp - 0x234], 0
je 0x42b4de
push 6
mov dword [ebx], 3
call fcn.0046f750
add esp, 4
test eax, eax
je 0x42b4d1
push str.WebAdvisor_key_is_present_at_Uninstall_path
push 0x2e1
push str.GetSiteAdvisorStatus
mov edx, str.E:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
mov ecx, 6
call fcn.004239b0
add esp, 0xc
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x42b4de
push eax
call esi
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x42b4eb
push eax
call esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42b52b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b521
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b6b8
push edx
push ecx
call fcn.0047940e
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478c0a
mov esp, ebp
pop ebp
ret
push 0x4fbb20
call fcn.00478d50
add esp, 4
cmp dword [0x4fbb20], 0xffffffff
jne 0x42a82e
mov byte [ebp - 4], 2
push 0x20
mov dword [0x4fbaf8], 0
mov dword [0x4fbb08], 0
mov dword [0x4fbb0c], 7
call fcn.00479023
push 0x1a
mov esi, eax
mov dword [0x4fbb08], 0xd
push str.PartnerCustom
push esi
mov dword [0x4fbb0c], 0xf
call fcn.0047e460
xor eax, eax
mov word [esi + 0x1a], ax
push 0x4baf4c
mov dword [0x4fbaf8], esi
call fcn.004793f9
push 0x4fbb20
mov byte [ebp - 4], 1
call fcn.00478d06
add esp, 0x18
jmp 0x42a82e
test cl, 4
je 0x42b5e7
mov esi, str.ios_base::badbit_set
jmp 0x42b5f7
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x260]
push 1
push eax
call fcn.00405b6f
add esp, 8
lea ecx, [ebp - 0x274]
push eax
push esi
call fcn.00406318
push 0x4ed494
lea eax, [ebp - 0x274]
push eax
call fcn.0048029b
push 0x4fbb20
call fcn.00478d50
add esp, 4
cmp dword [0x4fbb20], 0xffffffff
jne 0x42aeb6
mov byte [ebp - 4], 0x11
push 0x20
mov dword [0x4fbaf8], 0
mov dword [0x4fbb08], 0
mov dword [0x4fbb0c], 7
call fcn.00479023
push 0x1a
mov esi, eax
mov dword [0x4fbb08], 0xd
push str.PartnerCustom
push esi
mov dword [0x4fbb0c], 0xf
call fcn.0047e460
xor eax, eax
mov word [esi + 0x1a], ax
push 0x4baf4c
mov dword [0x4fbaf8], esi
call fcn.004793f9
push 0x4fbb20
mov byte [ebp - 4], 0x10
call fcn.00478d06
add esp, 0x18
jmp 0x42aeb6
call fcn.00487359
int3