Function at 0x4282f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4dfe
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 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.0047fc40
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 0x428efe
mov edx, 0x4fbb5c
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edx], ecx
sub eax, 0
je 0x4283ca
sub eax, 1
jne 0x4287db
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4283a3
push 0x80
call fcn.00479023
mov dword [ebp - 0x23c], eax
push 0x4c
mov byte [ebp - 4], 1
call fcn.00479023
mov ebx, eax
add esp, 8
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 2
mov ecx, dword fs:[0x2c]
mov eax, dword [0x4fbb20]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 8]
jg 0x428ffb
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], 4
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 - 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 [0x4fbb50]
test ecx, ecx
je 0x4284ce
mov eax, dword [ecx]
jmp 0x428613
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 - 0x234], eax
mov dword [0x4fbb50], 0
test edi, edi
je 0x428517
xor eax, eax
cmp ax, word [edi]
je 0x428616
push 0x4c037c
push 0x45c
call fcn.00479053
mov esi, eax
add esp, 8
mov dword [ebp - 0x240], esi
test esi, esi
je 0x4285d3
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 0x4285d5
xor esi, esi
mov dword [ebp - 0x248], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x428616
push 0
push dword [ebp - 0x234]
mov ecx, esi
push edi
call fcn.00408a4e
mov ecx, esi
test eax, eax
je 0x428601
mov eax, dword [esi]
push 1
call dword [eax]
jmp 0x428616
mov dword [0x4fbb50], esi
mov eax, dword [esi]
mov dword [ebp - 0x248], 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], 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.00479023
mov esi, eax
push 1
mov dword [ebp - 4], 9
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], 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 0x42874d
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 0x42877a
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 0x42908d
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 [0x4fbb14], edi
mov edx, 0x4fbb5c
lock cmpxchg dword [edx], ecx
mov esi, dword [0x4fbb14]
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:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.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 0x4288bf
push esi
lea ecx, [ebp - 0x244]
call fcn.00411723
cmp byte [ebp - 0x240], 0
je 0x42888b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
cmp eax, 0xffffffff
jne 0x42888b
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 0x42888b
test cl, 4
je 0x429099
mov esi, str.ios_base::badbit_set
jmp 0x4290a9
mov byte [ebp - 4], 0xd
call fcn.0047b27a
test al, al
jne 0x4288a3
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 0x4288bf
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 0x428ea1
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x428900
sub esi, ecx
mov ecx, dword [ebp - 0x21c]
sar esi, 1
mov dword [ebp - 0x23c], ecx
cmp esi, ecx
ja 0x428953
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.0047e460
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x428a57
cmp esi, 0x7ffffffe
ja 0x4290d8
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x428978
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4289b2
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x428993
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4289b2
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x42916f
add eax, eax
cmp eax, 0x1000
jb 0x4289d9
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x42916f
push ecx
call fcn.00479023
add esp, 4
test eax, eax
je 0x429174
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4289ec
test eax, eax
je 0x4289ea
push eax
call fcn.00479023
add esp, 4
mov ebx, eax
jmp 0x4289ec
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.0047e460
xor eax, eax
add esp, 0xc
mov word [esi + ebx], ax
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x428a51
mov ecx, dword [ebp - 0x230]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428a47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429174
push edx
push ecx
call fcn.0047940e
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, 0x4fbb5c
lock cmpxchg dword [edx], ecx
sub eax, 0
je 0x428a83
sub eax, 1
jne 0x428e1d
push eax
call esi
jmp 0x428a60
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 0x4290dd
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 0x428b86
mov eax, dword [ecx]
jmp 0x428ccb
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 0x428bcf
xor eax, eax
cmp ax, word [edi]
je 0x428cce
push 0x4c037c
push 0x45c
call fcn.00479053
mov esi, eax
add esp, 8
mov dword [ebp - 0x248], esi
test esi, esi
je 0x428c8b
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 0x428c8d
xor esi, esi
mov dword [ebp - 0x248], esi
mov byte [ebp - 4], 0x14
test esi, esi
je 0x428cce
push 0
push dword [ebp - 0x23c]
mov ecx, esi
push edi
call fcn.00408a4e
mov ecx, esi
test eax, eax
je 0x428cb9
mov eax, dword [esi]
push 1
call dword [eax]
jmp 0x428cce
mov dword [0x4fbb50], esi
mov eax, dword [esi]
mov dword [ebp - 0x248], 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 - 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.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 - 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 0x428d98
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 0x428dbc
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 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 [0x4fbb14], edi
mov edx, 0x4fbb5c
lock cmpxchg dword [edx], ecx
mov esi, dword [0x4fbb14]
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:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.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 0x428f5f
push str.E:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.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 0x428f5f
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:BT79ab498f_9f9b_4ba1_9055_25cb00f80951SecurityStatusAndEnvChecksSecurityStatusAndEnvChecksWMISecurityStatus.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 0x428f8e
lea eax, [ebp - 0x230]
cmp ebx, eax
je 0x428f8e
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 0x428f9f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x428fdf
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428fd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429174
push edx
push ecx
call fcn.0047940e
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.00478c0a
mov esp, ebp
pop ebp
ret
push 0x4fbb20
call fcn.00478d50
add esp, 4
cmp dword [0x4fbb20], 0xffffffff
jne 0x42840e
mov byte [ebp - 4], 3
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], 2
call fcn.00478d06
add esp, 0x18
jmp 0x42840e
test cl, 4
je 0x429099
mov esi, str.ios_base::badbit_set
jmp 0x4290a9
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
call fcn.0040556b
push 0x4fbb20
call fcn.00478d50
add esp, 4
cmp dword [0x4fbb20], 0xffffffff
jne 0x428ac6
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 0x428ac6
call fcn.004054f4
call fcn.00487359
int3