Function at 0x1003a8f0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006c61e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1008f414]
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 0x1003aa2b
cmp eax, ebx
je 0x1003a951
test byte [esp + 0x24], 0x20
je 0x1003abb2
mov ecx, dword [esi + 4]
push 0x66
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.1002c5d0
push 0x3c
call fcn.10051912
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, ebx
mov dword [esp + 0x80], ebx
je 0x1003a994
push 1
mov ecx, esi
call fcn.10049310
mov dword [esi], vtable.Candeo::OKDlg.0
mov dword [esi + 0x20], 0xe6
jmp 0x1003a996
xor esi, esi
or edi, 0xffffffff
push 0x154
mov dword [esp + 0x84], edi
call fcn.10051912
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x80], 1
je 0x1003a9cf
push ebx
push ebx
push ebx
push esi
mov ecx, eax
call fcn.1003bd40
mov esi, eax
jmp 0x1003a9d1
xor esi, esi
push 0x7f04
mov ecx, esi
mov dword [esp + 0x84], edi
call fcn.1002d6d0
push 0x10092cb8
mov ecx, esi
call fcn.1002e780
mov eax, dword [0x10092cb4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
push ebx
push 0x11001
mov dword [esi + 0x10c], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x50]
push ecx
push eax
push 0x100930c0
push eax
mov ecx, esi
call edx
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003abef
push ebx
call fcn.100543ca
mov dword [esp + 0x2c], eax
mov eax, dword [0x100a1bbc]
add esp, 4
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], edx
mov byte [esp + 0x17], bl
call fcn.1004dc70
push 0x100a1a80
mov dword [esp + 0x84], 2
call fcn.10036910
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1003aa98
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.1004dca0
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 0x10096730
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1003a2a0
lea edx, [esp + 0x38]
mov esi, eax
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.10051e8b
add esp, 0x10
cmp eax, ebx
jne 0x1003ac0b
mov eax, dword [esp + 0x64]
add eax, 0x76c
cmp eax, 0x7d0
jne 0x1003ac0b
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.1003a590
mov ecx, dword [esp + 0x18]
push ecx
push 0x100
push 0x10096730
mov byte [esp + 0x8c], 4
call fcn.1000a41a
mov edx, dword [esp + 0x18]
mov eax, dword [str.LastUpdateCheckTime]
mov ecx, dword [0x100a1b88]
push edx
push eax
call fcn.10047080
call fcn.10036a90
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 0x1003ab5a
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.1004dca0
lea ecx, [esp + 0x38]
push ecx
push 0x100989f0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.1003a2a0
add esp, 8
cmp byte [esp + 0x13], bl
jne 0x1003acc6
cmp eax, 0xd
je 0x1003acc6
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.1003a260
test al, al
je 0x1003ad64
mov byte [esp + 0x12], 1
mov al, byte [esp + 0x12]
mov cl, byte [ebp + 8]
mov edx, dword [esp + 0x1c]
mov byte [0x100a1bfa], cl
mov byte [0x100a1bf9], al
mov eax, dword [edx]
mov ecx, 0x100a1bc0
mov dword [0x100a1bfc], eax
call fcn.1004a0e0
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp byte [esp + 0x12], bl
setne cl
add ecx, 1
mov dword [edx], ecx
call fcn.1003d350
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 0x1003ac7e
mov ecx, dword [str._m__d__Y__H:_M]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call fcn.1003a590
mov eax, dword [esp + 0x14]
push eax
push 0x100
push 0x10096730
mov byte [esp + 0x8c], 3
call fcn.1000a41a
mov ecx, dword [esp + 0x14]
mov edx, dword [str.LastUpdateCheckTime]
push ecx
mov ecx, dword [0x100a1b88]
push edx
call fcn.10047080
call fcn.10036a90
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.10002895
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.10054060
cmp eax, dword [0x100a1854]
jae 0x1003aae4
lea ecx, [esp + 0x48]
mov dword [edi], 3
mov dword [esp + 0x80], 0xffffffff
call fcn.1004dca0
jmp 0x1003abf4
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.1003a200
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.1003a590
mov eax, dword [esp + 0x18]
push eax
push 0x100
push 0x100989f0
mov dword [esp + 0x8c], 5
call fcn.1000a41a
mov ecx, dword [esp + 0x18]
mov edx, dword [str.NextUpdateCheckTime]
push ecx
mov ecx, dword [0x100a1b88]
push edx
call fcn.10047080
call fcn.10036a10
call fcn.10036a90
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 0x1003ad64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
push ecx
push 0x10096a48
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.1003a2a0
add esp, 8
cmp eax, 0xd
jne 0x1003ae16
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.1003a200
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.1003a590
mov ecx, dword [esp + 0x14]
push ecx
push 0x100
push 0x10096a48
mov dword [esp + 0x8c], 6
call fcn.1000a41a
mov edx, dword [esp + 0x14]
mov ecx, dword [0x100a1b88]
push edx
push 0x10096a48
call fcn.10047080
call fcn.10036a90
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], edi
call fcn.10002895
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003abef
cmp byte [esp + 0x13], bl
je 0x1003ae2f
call fcn.1003a740
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003abef
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.1003a260
test al, al
jne 0x1003abb7
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003abef