Function at 0x4284f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba41e
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4f7108]
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 ebx, ecx
mov dword [ebp - 0x254], ebx
xor eax, eax
mov dword [ebp - 0x234], eax
push 0x208
push eax
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00485260
xor eax, eax
mov dword [ebp - 0x230], 0
add esp, 0xc
mov dword [ebp - 0x258], 0x208
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x250]
push eax
push 0xf003f
push 0
push str.SOFTWAREMcAfee_Safe_Connect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4290fe
mov edx, 0x502b5c
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edx], ecx
sub eax, 0
je 0x4285ca
sub eax, 1
jne 0x4289db
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4285a3
push 0x80
call fcn.0047e643
mov dword [ebp - 0x23c], eax
push 0x4c
mov byte [ebp - 4], 1
call fcn.0047e643
mov ebx, eax
add esp, 8
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 2
mov ecx, dword fs:[0x2c]
mov eax, dword [0x502b20]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 8]
jg 0x4291fb
push 8
mov dword [ebx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0047e643
mov esi, eax
push 1
mov byte [ebp - 4], 4
call fcn.0047fe00
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 - 0x234], ebx
mov ebx, dword [ebp - 0x238]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x234]
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], 5
mov dword [ebx], vtable.logstreambuf.0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov ecx, dword [0x502b50]
test ecx, ecx
je 0x4286ce
mov eax, dword [ecx]
jmp 0x428813
push 0x1c
push 0x502b24
push 0x502b24
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [0x502b0c], 8
mov edi, 0x502af8
mov eax, dword [0x502b28]
cmovae edi, dword [0x502af8]
mov dword [ebp - 0x234], eax
mov dword [0x502b50], 0
test edi, edi
je 0x428717
xor eax, eax
cmp ax, word [edi]
je 0x428816
push 0x4c637c
push 0x45c
call fcn.0047e673
mov esi, eax
add esp, 8
mov dword [ebp - 0x240], esi
test esi, esi
je 0x4287d3
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 0x4287d5
xor esi, esi
mov dword [ebp - 0x248], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x428816
push 0
push dword [ebp - 0x234]
mov ecx, esi
push edi
call fcn.00408a4e
mov ecx, esi
test eax, eax
je 0x428801
mov eax, dword [esi]
push 1
call dword [eax]
jmp 0x428816
mov dword [0x502b50], esi
mov eax, dword [esi]
mov dword [ebp - 0x248], 0
call dword [eax + 0x28]
mov edi, dword [ebp - 0x23c]
mov eax, dword [0x502b50]
mov dword [ebx + 0x44], eax
mov dword [edi], 0x4d3c08
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], 7
mov eax, 1
mov dword [ebp - 0x234], 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.0047e643
mov esi, eax
push 1
mov dword [ebp - 4], 9
call fcn.0047fe00
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], 0xa
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 - 0x248], eax
mov byte [ebp - 4], 8
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x42894d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x248]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x42897a
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 0x42928d
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 [ebp - 4], 1
mov eax, 1
mov dword [0x502b14], edi
mov edx, 0x502b5c
lock cmpxchg dword [edx], ecx
mov esi, dword [0x502b14]
mov dword [ebp - 0x240], esi
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 4], 3
mov dword [esi + 8], 0x1d2
mov dword [esi + 0xc], str.GetMcAfeeVPNSubscriptionType
mov dword [esi + 0x10], str.E:BT_bcd09f30_9318_47da_a932_cca71cfec57eSecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
mov edx, str.McAfee_Safe_Connect_registry_key_is_present
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0041228b
sub esp, 0xc
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.00410e1e
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov edi, dword [eax + esi + 0x38]
test edi, edi
je 0x428abf
push esi
lea ecx, [ebp - 0x244]
call fcn.00411723
cmp byte [ebp - 0x240], 0
je 0x428a8b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
cmp eax, 0xffffffff
jne 0x428a8b
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 0x428a8b
test cl, 4
je 0x429299
mov esi, str.ios_base::badbit_set
jmp 0x4292a9
mov byte [ebp - 4], 0xd
call fcn.0048089a
test al, al
jne 0x428aa3
mov ecx, dword [ebp - 0x244]
call fcn.00412054
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x244]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx + 0x38]
test ecx, ecx
je 0x428abf
mov eax, dword [ecx]
call dword [eax + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.SubscriptionType
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4290a1
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x428b00
sub esi, ecx
mov ecx, dword [ebp - 0x21c]
sar esi, 1
mov dword [ebp - 0x23c], ecx
cmp esi, ecx
ja 0x428b53
cmp ecx, 8
mov dword [ebp - 0x220], esi
lea edi, [ebp - 0x230]
cmovae edi, dword [ebp - 0x230]
lea eax, [ebp - 0x218]
add esi, esi
push esi
push eax
push edi
call fcn.00483a80
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x428c57
cmp esi, 0x7ffffffe
ja 0x4292d8
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x428b78
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x428bb2
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x428b93
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x428bb2
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x42936f
add eax, eax
cmp eax, 0x1000
jb 0x428bd9
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x42936f
push ecx
call fcn.0047e643
add esp, 4
test eax, eax
je 0x429374
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x428bec
test eax, eax
je 0x428bea
push eax
call fcn.0047e643
add esp, 4
mov ebx, eax
jmp 0x428bec
xor ebx, ebx
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x218]
add esi, esi
mov dword [ebp - 0x21c], edi
push esi
push eax
push ebx
call fcn.00483a80
xor eax, eax
add esp, 0xc
mov word [esi + ebx], ax
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x428c51
mov ecx, dword [ebp - 0x230]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428c47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429374
push edx
push ecx
call fcn.0047ea2e
add esp, 8
mov dword [ebp - 0x230], ebx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
mov ecx, 1
xor eax, eax
mov edx, 0x502b5c
lock cmpxchg dword [edx], ecx
sub eax, 0
je 0x428c83
sub eax, 1
jne 0x42901d
push eax
call esi
jmp 0x428c60
push 0x80
call fcn.0047e643
mov dword [ebp - 0x240], eax
push 0x4c
mov byte [ebp - 4], 0xf
call fcn.0047e643
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 [0x502b20]
cmp eax, dword [ecx + 8]
jg 0x4292dd
push 8
mov dword [ebx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0047e643
mov esi, eax
push 1
mov byte [ebp - 4], 0x12
call fcn.0047fe00
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 [0x502b50]
test ecx, ecx
je 0x428d86
mov eax, dword [ecx]
jmp 0x428ecb
push 0x1c
push 0x502b24
push 0x502b24
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [0x502b0c], 8
mov edi, 0x502af8
mov eax, dword [0x502b28]
cmovae edi, dword [0x502af8]
mov dword [ebp - 0x23c], eax
mov dword [0x502b50], 0
test edi, edi
je 0x428dcf
xor eax, eax
cmp ax, word [edi]
je 0x428ece
push 0x4c637c
push 0x45c
call fcn.0047e673
mov esi, eax
add esp, 8
mov dword [ebp - 0x248], esi
test esi, esi
je 0x428e8b
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 0x428e8d
xor esi, esi
mov dword [ebp - 0x248], esi
mov byte [ebp - 4], 0x14
test esi, esi
je 0x428ece
push 0
push dword [ebp - 0x23c]
mov ecx, esi
push edi
call fcn.00408a4e
mov ecx, esi
test eax, eax
je 0x428eb9
mov eax, dword [esi]
push 1
call dword [eax]
jmp 0x428ece
mov dword [0x502b50], esi
mov eax, dword [esi]
mov dword [ebp - 0x248], 0
call dword [eax + 0x28]
mov edi, dword [ebp - 0x240]
mov eax, dword [0x502b50]
mov dword [ebx + 0x44], eax
mov dword [edi], 0x4d3c08
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 - 0x234], 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.004063b9
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 - 0x248], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x24c]
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 - 0x248], eax
mov byte [ebp - 4], 0x16
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x428f98
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x248]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x428fbc
mov eax, dword [ecx + 0xc]
push 0
or eax, 4
push eax
call fcn.0040634f
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 ecx, [edi + 0x14]
mov dword [edi + 4], 1
push ecx
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 [0x502b14], edi
mov edx, 0x502b5c
lock cmpxchg dword [edx], ecx
mov esi, dword [0x502b14]
mov dword [ebp - 0x240], esi
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 4], 3
mov dword [esi + 8], 0x1d6
mov dword [esi + 0xc], str.GetMcAfeeVPNSubscriptionType
mov dword [esi + 0x10], str.E:BT_bcd09f30_9318_47da_a932_cca71cfec57eSecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
mov edx, str.SubscriptionType_is_present_and_value_is
mov byte [ebp - 4], 0x18
mov ecx, esi
call fcn.0041228b
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x230]
mov ecx, eax
cmovae edx, dword [ebp - 0x230]
call fcn.004124b8
sub esp, 0xc
mov byte [ebp - 4], 0x19
mov ecx, esi
call fcn.00410e1e
mov ecx, esi
call fcn.00410dbf
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x254]
jmp 0x42915f
push str.E:BT_bcd09f30_9318_47da_a932_cca71cfec57eSecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
push str.GetMcAfeeVPNSubscriptionType
push 0x1da
push 4
lea ecx, [ebp - 0x234]
call fcn.0040d1be
mov byte [ebp - 4], 0x1a
mov edx, str.SubscriptionType_is_not_present_in_registry
mov ecx, dword [eax]
call fcn.0041228b
sub esp, 0xc
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x234]
call fcn.00410e1e
mov ecx, dword [ebp - 0x234]
call fcn.00410dbf
mov eax, dword [ebp - 0x234]
add eax, 0x14
push eax
call ebx
mov ebx, dword [ebp - 0x254]
jmp 0x42915f
mov cl, 1
call fcn.0040a355
mov esi, dword [eax]
mov dword [ebp - 0x240], esi
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 4], 4
mov dword [esi + 8], 0x1df
mov dword [esi + 0xc], str.GetMcAfeeVPNSubscriptionType
mov dword [esi + 0x10], str.E:BT_bcd09f30_9318_47da_a932_cca71cfec57eSecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.cpp
mov edx, str.McAfee_Safe_Connect_registry_key_is_not_present
mov byte [ebp - 4], 0x1c
mov ecx, esi
call fcn.0041228b
sub esp, 0xc
mov byte [ebp - 4], 0x1d
mov ecx, esi
call fcn.00410e1e
mov ecx, esi
call fcn.00410dbf
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x42918e
lea eax, [ebp - 0x230]
cmp ebx, eax
je 0x42918e
cmp dword [ebp - 0x21c], 8
mov ecx, ebx
push edx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0040b279
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x42919f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4291df
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4291d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429374
push edx
push ecx
call fcn.0047ea2e
add esp, 8
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.0047e22a
mov esp, ebp
pop ebp
ret
push 0x502b20
call fcn.0047e370
add esp, 4
cmp dword [0x502b20], 0xffffffff
jne 0x42860e
mov byte [ebp - 4], 3
push 0x20
mov dword [0x502af8], 0
mov dword [0x502b08], 0
mov dword [0x502b0c], 7
call fcn.0047e643
push 0x1a
mov esi, eax
mov dword [0x502b08], 0xd
push str.PartnerCustom
push esi
mov dword [0x502b0c], 0xf
call fcn.00483a80
xor eax, eax
mov word [esi + 0x1a], ax
push 0x4c0d0c
mov dword [0x502af8], esi
call fcn.0047ea19
push 0x502b20
mov byte [ebp - 4], 2
call fcn.0047e326
add esp, 0x18
jmp 0x42860e
test cl, 4
je 0x429299
mov esi, str.ios_base::badbit_set
jmp 0x4292a9
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.00405b79
add esp, 8
lea ecx, [ebp - 0x274]
push eax
push esi
call fcn.00406322
push 0x4f43c4
lea eax, [ebp - 0x274]
push eax
call fcn.004858bb
call fcn.0040556b
push 0x502b20
call fcn.0047e370
add esp, 4
cmp dword [0x502b20], 0xffffffff
jne 0x428cc6
mov byte [ebp - 4], 0x11
push 0x20
mov dword [0x502af8], 0
mov dword [0x502b08], 0
mov dword [0x502b0c], 7
call fcn.0047e643
push 0x1a
mov esi, eax
mov dword [0x502b08], 0xd
push str.PartnerCustom
push esi
mov dword [0x502b0c], 0xf
call fcn.00483a80
xor eax, eax
mov word [esi + 0x1a], ax
push 0x4c0d0c
mov dword [0x502af8], esi
call fcn.0047ea19
push 0x502b20
mov byte [ebp - 4], 0x10
call fcn.0047e326
add esp, 0x18
jmp 0x428cc6
call fcn.004054f4
call fcn.0048c979
int3