Function at 0x45fa5e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b9203
call fcn.0049dfc4
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x4f4198
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp byte [0x4f41c8], bl
je 0x45fae9
push dword [ebp + 0xc]
mov ecx, 0x4f41b8
call fcn.00401327
test eax, eax
jne 0x45fae9
mov esi, dword [0x4f41c4]
push 0x4f1ed4
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], ebx
call fcn.00401c4e
mov dword [ebp - 0x28], SysStringLen
push esi
push str.Cached_Ping_Response:_Server__S_has_already_had_a_valid_connection.
lea eax, [ebp - 0x44]
push 0x10
push eax
mov dword [ebp - 4], ebx
call fcn.00401e6a
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x38]
call fcn.004012b4
jmp 0x45fd38
mov byte [0x4f41c8], bl
mov dword [ebp - 0x14], ebx
push 1
mov esi, SysReAllocStringLen
pop edi
lea ecx, [ebp - 0x14]
push 0x20019
push str.SOFTWAREInstallShieldUpdate_Service
push esi
mov dword [ebp - 4], edi
call fcn.00403674
cmp eax, ebx
jne 0x45fbcd
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.IsConnected
mov dword [ebp - 0x20], 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x45fbcd
cmp dword [ebp - 0x18], ebx
mov dword [ebp + 0xc], str.true
setne al
cmp al, bl
mov byte [0x4f41c8], al
jne 0x45fb62
mov dword [ebp + 0xc], str.false
push 0x4f1ed4
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
call fcn.00401c4e
mov dword [ebp - 0x28], esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push str.Returning_registry_override_for_IsConnected:__s
push 0x200
push eax
call fcn.00401e6a
add esp, 0x10
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004012b4
push 0x4f4198
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [0x4f41c8]
cmp dword [ebp - 0x14], ebx
mov byte [ebp + 0xf], al
je 0x45fbc5
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp + 0xf]
jmp 0x45fd48
call fcn.0042f368
cmp byte [0x4f4008], bl
jne 0x45fc4a
cmp eax, 2
je 0x45fc56
cmp eax, edi
je 0x45fc56
cmp eax, 3
push esi
jne 0x45fc1f
lea ecx, [ebp - 0x44]
call fcn.00401e2f
push str.Internet_Connection_unavailable_or_does_not_exist
push 0x200
push eax
mov byte [ebp - 4], 6
call fcn.00401e6a
add esp, 0xc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004012b4
mov byte [0x4f41c8], bl
jmp 0x45fd2a
lea ecx, [ebp - 0x68]
call fcn.00401e2f
push str.Unknown_Internet_state__assuming_one_does_exist
push 0x200
push eax
mov byte [ebp - 4], 7
call fcn.00401e6a
add esp, 0xc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004012b4
mov byte [0x4f41c8], 1
jmp 0x45fd2a
push 0x130
lea ecx, [ebp - 0x12c]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0045f8c2
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x45fca9
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x45fca9
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0xc], esp
push esi
call fcn.0040235c
lea ecx, [ebp - 0x12c]
call fcn.0040f2b3
push esi
mov ecx, 0x4f41b8
call fcn.00410f26
mov dword [ebp + 0xc], ebx
cmp byte [0x4f41c8], bl
jne 0x45fd1b
cmp dword [ebp + 0xc], 3
jge 0x45fd1b
inc dword [ebp + 0xc]
push ebx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 4
call fcn.0045f8fb
mov al, byte [ebp - 0x74]
mov byte [0x4f41c8], al
jmp 0x45fd12
mov dword [ebp - 4], 3
jmp 0x45fcac
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.0045f994
cmp dword [ebp - 0x14], ebx
je 0x45fd38
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4f4198
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [0x4f41c8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret