Function at 0x1003ab50
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006d15e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
lea eax, [esp + 0x28]
push eax
mov dword [edi], ebx
mov byte [esp + 0x1a], bl
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
cmp byte [ebp + 8], bl
je 0x1003ac8b
cmp eax, ebx
je 0x1003abb1
test byte [esp + 0x24], 0x20
je 0x1003ae12
mov ecx, dword [esi + 4]
push 0x66
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.1002c7c0
push 0x3c
call fcn.100522d2
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, ebx
mov dword [esp + 0x80], ebx
je 0x1003abf4
push 1
mov ecx, esi
call fcn.10049530
mov dword [esi], vtable.Candeo::OKDlg.0
mov dword [esi + 0x20], 0xe6
jmp 0x1003abf6
xor esi, esi
or edi, 0xffffffff
push 0x140
mov dword [esp + 0x84], edi
call fcn.100522d2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x80], 1
je 0x1003ac2f
push ebx
push ebx
push ebx
push esi
mov ecx, eax
call fcn.1003bf50
mov esi, eax
jmp 0x1003ac31
xor esi, esi
push 0x7f04
mov ecx, esi
mov dword [esp + 0x84], edi
call fcn.1002d930
push 0x10094cb8
mov ecx, esi
call fcn.1002e9e0
mov eax, dword [0x10094cb4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
push ebx
push 0x11001
mov dword [esi + 0xf8], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x50]
push ecx
push eax
push 0x100950c0
push eax
mov ecx, esi
call edx
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003ae4f
push ebx
call fcn.10054d8a
mov dword [esp + 0x2c], eax
mov eax, dword [0x100a3bbc]
add esp, 4
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], edx
mov byte [esp + 0x17], bl
call fcn.1004e540
push 0x100a3a80
mov dword [esp + 0x84], 2
call fcn.10036b80
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1003acf8
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.1004e570
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x30]
push ecx
push 0x10098730
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1003a500
lea edx, [esp + 0x38]
mov esi, eax
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1005284b
add esp, 0x10
cmp eax, ebx
jne 0x1003ae6b
mov eax, dword [esp + 0x64]
add eax, 0x76c
cmp eax, 0x7d0
jne 0x1003ae6b
mov byte [esp + 0x13], 1
mov edx, dword [str._m__d__Y__H:_M]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.1003a7f0
mov ecx, dword [esp + 0x18]
push ecx
push 0x100
push 0x10098730
mov byte [esp + 0x8c], 4
call fcn.1000a575
mov edx, dword [esp + 0x18]
mov eax, dword [str.LastUpdateCheckTime]
mov ecx, dword [0x100a3b88]
push edx
push eax
call fcn.100472a0
call fcn.10036d00
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x80], 2
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003adba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], edi
call fcn.1004e570
lea ecx, [esp + 0x38]
push ecx
push 0x1009a9f0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.1003a500
add esp, 8
cmp byte [esp + 0x13], bl
jne 0x1003af26
cmp eax, 0xd
je 0x1003af26
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.1003a4c0
test al, al
je 0x1003afc4
mov byte [esp + 0x12], 1
mov al, byte [esp + 0x12]
mov cl, byte [ebp + 8]
mov edx, dword [esp + 0x1c]
mov byte [0x100a3bfa], cl
mov byte [0x100a3bf9], al
mov eax, dword [edx]
mov ecx, 0x100a3bc0
mov dword [0x100a3bfc], eax
call fcn.1004a300
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp byte [esp + 0x12], bl
setne cl
add ecx, 1
mov dword [edx], ecx
call fcn.1003d560
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp esi, 0xd
jne 0x1003aede
mov ecx, dword [str._m__d__Y__H:_M]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call fcn.1003a7f0
mov eax, dword [esp + 0x14]
push eax
push 0x100
push 0x10098730
mov byte [esp + 0x8c], 3
call fcn.1000a575
mov ecx, dword [esp + 0x14]
mov edx, dword [str.LastUpdateCheckTime]
push ecx
mov ecx, dword [0x100a3b88]
push edx
call fcn.100472a0
call fcn.10036d00
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
mov byte [esp + 0x80], 2
call fcn.10002b58
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x34]
push ebx
push 0xe10
push ecx
push eax
call fcn.10054a20
cmp eax, dword [0x100a3854]
jae 0x1003ad44
lea ecx, [esp + 0x48]
mov dword [edi], 3
mov dword [esp + 0x80], 0xffffffff
call fcn.1004e570
jmp 0x1003ae54
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.1003a460
mov ecx, dword [eax]
add ecx, dword [esp + 0x28]
mov eax, dword [eax + 4]
adc eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov ecx, dword [str._m__d__Y__H:_M]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
call fcn.1003a7f0
mov eax, dword [esp + 0x18]
push eax
push 0x100
push 0x1009a9f0
mov dword [esp + 0x8c], 5
call fcn.1000a575
mov ecx, dword [esp + 0x18]
mov edx, dword [str.NextUpdateCheckTime]
push ecx
mov ecx, dword [0x100a3b88]
push edx
call fcn.100472a0
call fcn.10036c80
call fcn.10036d00
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x80], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003afc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
push ecx
push 0x10098a48
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.1003a500
add esp, 8
cmp eax, 0xd
jne 0x1003b076
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.1003a460
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, dword [esp + 0x28]
mov edx, dword [str._m__d__Y__H:_M]
adc eax, dword [esp + 0x2c]
push edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x48]
call fcn.1003a7f0
mov ecx, dword [esp + 0x14]
push ecx
push 0x100
push 0x10098a48
mov dword [esp + 0x8c], 6
call fcn.1000a575
mov edx, dword [esp + 0x14]
mov ecx, dword [0x100a3b88]
push edx
push 0x10098a48
call fcn.100472a0
call fcn.10036d00
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], edi
call fcn.10002b58
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003ae4f
cmp byte [esp + 0x13], bl
je 0x1003b08f
call fcn.1003a9a0
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003ae4f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.1003a4c0
test al, al
jne 0x1003ae17
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003ae4f