Function at 0x1007f8e7
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
sub esp, 0x40
mov eax, 0x100c0757
call fcn.100a0664
push ecx
mov eax, 0x2064
call fcn.1009fbd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea eax, [ebp + 0x24]
mov esi, ecx
mov dword [ebp + 0x40], ebx
push eax
mov dword [ebp + 0x30], esi
mov dword [ebp - 4], ebx
mov dword [ebp + 0x24], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1007ff60
push ecx
mov ecx, esp
mov dword [ebp + 0x3c], esp
push str.default
call fcn.100057f4
mov ecx, dword [esi + 0x18]
lea eax, [ebp + 0x3c]
push eax
call fcn.1007c3ed
mov ecx, dword [ebp + 0x60]
push eax
mov byte [ebp - 4], 1
call fcn.100046db
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001ccd
mov edi, dword [ebp + 0x4c]
push ebx
push str.fctb_no_redirect1
mov ecx, edi
call fcn.10002fb2
test eax, eax
jge 0x1007ff60
mov eax, dword [edi]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
call fcn.1000c80c
lea ecx, [ebp - 0x74]
call fcn.1000c9a2
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 2
jb 0x1007f99f
mov eax, dword [eax + 4]
jmp 0x1007f9a2
add eax, 4
push eax
lea ecx, [ebp + 0x28]
call fcn.100057f4
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.10098ecc
lea ecx, [ebp]
call fcn.1006079b
lea eax, [ebp]
push eax
push ecx
lea eax, [ebp + 0x28]
mov dword [ebp + 0x4c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.100033f5
mov ecx, dword [esi + 0x10]
call fcn.1007f811
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
lea ecx, [ebp]
sar eax, 2
cmp ebx, eax
jae 0x1007ff47
push ebx
call fcn.1000b27e
mov esi, dword [eax]
lea ecx, [ebp - 0x30]
mov dword [ebp + 0x34], esi
call fcn.1002850b
push pe_nt_image_headers32
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.10028715
push 0x1010dc04
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 7
call fcn.1005d077
mov ecx, dword [esi + 8]
add ecx, 8
push 0
mov byte [ebp - 4], 8
call fcn.10003413
push eax
lea eax, [ebp + 0x4c]
push 0x100d3e10
push eax
call fcn.1000c6e6
mov esi, dword [ebp + 0x4c]
add esp, 0xc
push 1
push esi
lea ecx, [ebp - 0x30]
call fcn.1002990b
test eax, eax
je 0x1007fa64
lea ecx, [esi - 0x10]
jmp 0x1007ff28
push edi
lea ecx, [ebp + 0x38]
call fcn.100033f5
push 0
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 9
call fcn.10003413
mov esi, eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.10028981
test eax, eax
je 0x1007ff17
and dword [ebp + 0x2c], 0
and dword [ebp + 0x3c], 0
cmp dword [ebp - 0x64], 1
jb 0x1007ff17
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x2c]
push eax
push 0
lea ecx, [ebp - 0x64]
call fcn.10046b1e
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x1007ff17
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x1007ff17
cmp byte [ebp + 0x58], 0
je 0x1007faff
cmp eax, esi
jbe 0x1007ff17
cmp word [eax - 2], 0x3d
jne 0x1007ff17
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
lea eax, [esi + eax*2]
cmp ecx, eax
jae 0x1007faff
cmp word [ecx], 0x26
jne 0x1007ff17
cmp byte [ebp + 0x64], 0
mov bl, 1
jne 0x1007fe5d
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x1007fb17
mov ecx, dword [ebp + 0x34]
mov dword [eax], ecx
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1007fb26
add eax, 8
jmp 0x1007fb28
xor eax, eax
push eax
lea ecx, [ebp + 0x58]
call fcn.100033f5
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xa
call fcn.100563f3
mov edi, dword [ebp + 0x34]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1007fb4c
lea ecx, [eax + 8]
jmp 0x1007fb4e
xor ecx, ecx
push 0x100d3e0c
call fcn.1000272b
test eax, eax
je 0x1007fd40
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1007fb6c
lea ecx, [eax + 8]
jmp 0x1007fb6e
xor ecx, ecx
push 0x100c5cf8
call fcn.1000272b
test eax, eax
je 0x1007fd40
push 0x100c51a4
lea ecx, [ebp + 0x58]
call fcn.1000272b
test eax, eax
je 0x1007fba6
push 0x100c5cfc
lea ecx, [ebp + 0x58]
call fcn.1000272b
test eax, eax
jne 0x1007fd40
push str.SessionUser
lea ecx, [ebp + 0x6c]
call fcn.100057f4
or dword [ebp + 0x40], 1
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0xb
call fcn.1002a64a
pop ecx
pop ecx
mov eax, dword [eax]
or dword [ebp + 0x40], 2
cmp dword [eax - 0xc], 0
push 0xc
pop esi
mov dword [ebp - 4], esi
jg 0x1007fc13
push str.SessionKey
lea ecx, [ebp + 0x64]
call fcn.100057f4
or dword [ebp + 0x40], 4
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x3c]
push eax
mov dword [ebp - 4], 0xd
call fcn.1002a64a
mov eax, dword [eax]
or dword [ebp + 0x40], 8
cmp dword [eax - 0xc], 0
pop ecx
pop ecx
jg 0x1007fc13
xor bl, bl
jmp 0x1007fc15
mov bl, 1
test byte [ebp + 0x40], 8
je 0x1007fc2a
mov ecx, dword [ebp + 0x3c]
and dword [ebp + 0x40], 0xfffffff7
add ecx, 0xfffffff0
call fcn.10001ccd
test byte [ebp + 0x40], 4
je 0x1007fc3f
mov ecx, dword [ebp + 0x64]
and dword [ebp + 0x40], 0xfffffffb
add ecx, 0xfffffff0
call fcn.10001ccd
test byte [ebp + 0x40], 2
je 0x1007fc54
mov ecx, dword [ebp + 0x2c]
and dword [ebp + 0x40], 0xfffffffd
add ecx, 0xfffffff0
call fcn.10001ccd
test byte [ebp + 0x40], 1
mov dword [ebp - 4], 0xa
je 0x1007fc6c
mov ecx, dword [ebp + 0x6c]
add ecx, 0xfffffff0
call fcn.10001ccd
test bl, bl
jne 0x1007fd40
push ecx
mov ecx, esp
mov dword [ebp + 0x64], esp
push str.loggedOut
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x60], esp
push str.alert
mov byte [ebp - 4], 0xe
call fcn.100057f4
mov ebx, dword [ebp + 0x30]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebx + 0x14]
call fcn.1007d0bc
test eax, eax
jne 0x1007fcc6
lea eax, [ebp + 0x18]
push str.Shopping:_logged_out_state_not_found
push eax
call fcn.10001dd9
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.10002908
mov ecx, dword [ebx + 0xc]
add ecx, esi
push 0x100c5cfc
call fcn.1000272b
test eax, eax
jne 0x1007fd3c
mov ecx, dword [ebp + 0x5c]
push 0x100d3dbc
call fcn.100049c6
mov bl, 1
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001ccd
lea ecx, [ebp - 0x64]
call fcn.100284e4
lea ecx, [ebp - 0x2c]
call fcn.10028259
lea ecx, [ebp]
call fcn.10098ead
push dword [ebp]
call fcn.1009f549
pop ecx
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
call fcn.10001ccd
mov al, bl
jmp 0x1007ff62
xor bl, bl
jmp 0x1007fce8
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 8]
cmp dword [ecx - 0xc], 0
je 0x1007fd60
test eax, eax
je 0x1007fd55
add eax, 8
jmp 0x1007fd57
xor eax, eax
mov ecx, dword [ebp + 0x5c]
push eax
call fcn.100046db
mov ecx, dword [ebp + 0x5c]
push 0x100c5cf8
call fcn.1000272b
test eax, eax
jne 0x1007fd80
mov ecx, dword [ebp + 0x60]
xor bl, bl
call fcn.10002982
jmp 0x1007fe4e
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1007fd8c
add eax, 8
jmp 0x1007fd8e
xor eax, eax
mov ecx, dword [ebp + 0x60]
push eax
call fcn.100046db
mov eax, dword [edi + 0x14]
push dword [eax + 8]
call fcn.100a4d8b
dec eax
pop ecx
je 0x1007fe4c
dec eax
je 0x1007fdc2
dec eax
je 0x1007fdf6
dec eax
je 0x1007fe4c
dec eax
je 0x1007fdc9
mov ecx, dword [ebp + 0x60]
call fcn.10002982
mov bl, 1
jmp 0x1007fe4e
mov esi, dword [ebp + 0x30]
push edi
push ecx
lea eax, [esi + 8]
mov dword [ebp + 0x64], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, esi
call fcn.1007b23b
test al, al
je 0x1007fdc2
mov ecx, dword [ebp + 0x5c]
push 0x100d3b04
call fcn.100049c6
jmp 0x1007fdc2
mov esi, dword [ebp + 0x30]
push edi
push ecx
lea eax, [esi + 8]
mov dword [ebp + 0x64], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, esi
call fcn.1007b23b
mov bl, al
test bl, bl
jne 0x1007fe4e
push ecx
mov ecx, esp
mov dword [ebp + 0x6c], esp
push str.needCookie
call fcn.100057f4
mov ecx, dword [esi + 0x18]
lea eax, [ebp + 0x64]
push eax
call fcn.1007c3ed
mov ecx, dword [ebp + 0x60]
push eax
mov byte [ebp - 4], 0x10
call fcn.100046db
mov ecx, dword [ebp + 0x64]
add ecx, 0xfffffff0
call fcn.10001ccd
jmp 0x1007fe4e
xor bl, bl
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.10001ccd
mov eax, dword [ebp + 0x34]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1007fe6c
add eax, 8
jmp 0x1007fe6e
xor eax, eax
mov esi, dword [ebp + 0x50]
push eax
mov ecx, esi
call fcn.100046db
xor eax, eax
push 0x1ffe
push eax
mov word [ebp - 0x2074], ax
lea eax, [ebp - 0x2072]
push eax
call fcn.1009f9b0
mov eax, dword [esi]
push 0x1000
lea ecx, [ebp - 0x2074]
push ecx
push eax
call sym.Toolbar.DLL_raw_ParseIndependentVars
add esp, 0x18
lea eax, [ebp - 0x2074]
push eax
mov ecx, esi
call fcn.100049c6
mov esi, dword [ebp + 0x34]
lea ecx, [esi + 0x34]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
test eax, 0xfffffffc
je 0x1007fee9
push 0
call fcn.1000b27e
mov eax, dword [eax]
test eax, eax
je 0x1007fede
add eax, 8
jmp 0x1007fee0
xor eax, eax
mov ecx, dword [ebp + 0x54]
push eax
call fcn.100046db
cmp byte [esi + 0x30], 0
je 0x1007fcf3
mov esi, dword [ebp + 0x5c]
push dword [esi]
call fcn.100a4d8b
dec eax
pop ecx
cmp eax, 1
ja 0x1007ff10
push 0x100d3b04
mov ecx, esi
call fcn.100049c6
xor bl, bl
jmp 0x1007fcf3
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001ccd
lea ecx, [ebp - 0x64]
call fcn.100284e4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10028259
inc ebx
jmp 0x1007f9de
call fcn.10098ead
push dword [ebp]
call fcn.1009f549
pop ecx
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
call fcn.10001ccd
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x44
leave
ret 0x24