Function at 0x10036b10
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10064c2e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x100862c4]
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 0x10036c4b
cmp eax, ebx
je 0x10036b71
test byte [esp + 0x24], 0x20
je 0x10036dd2
mov ecx, dword [esi + 4]
push 0x66
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.10029a00
push 0x3c
call fcn.1004bf12
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, ebx
mov dword [esp + 0x80], ebx
je 0x10036bb4
push 1
mov ecx, esi
call fcn.10043b10
mov dword [esi], vtable.Candeo::OKDlg.0
mov dword [esi + 0x20], 0xe6
jmp 0x10036bb6
xor esi, esi
or edi, 0xffffffff
push 0x154
mov dword [esp + 0x84], edi
call fcn.1004bf12
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x80], 1
je 0x10036bef
push ebx
push ebx
push ebx
push esi
mov ecx, eax
call fcn.10037f50
mov esi, eax
jmp 0x10036bf1
xor esi, esi
push 0x7f04
mov ecx, esi
mov dword [esp + 0x84], edi
call fcn.1002ab00
push 0x10089b70
mov ecx, esi
call fcn.1002bbb0
mov eax, dword [0x10089b6c]
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 0x10089f78
push eax
mov ecx, esi
call edx
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x10036e0f
push ebx
call fcn.1004e82a
mov dword [esp + 0x2c], eax
mov eax, dword [0x10098234]
add esp, 4
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], edx
mov byte [esp + 0x17], bl
call fcn.10048200
push 0x100980f8
mov dword [esp + 0x84], 2
call fcn.10033010
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10036cb8
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.10048230
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 0x1008d5e8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.100364c0
lea edx, [esp + 0x38]
mov esi, eax
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1004c3d9
add esp, 0x10
cmp eax, ebx
jne 0x10036e2b
mov eax, dword [esp + 0x64]
add eax, 0x76c
cmp eax, 0x7d0
jne 0x10036e2b
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.100367b0
mov ecx, dword [esp + 0x18]
push ecx
push 0x100
push 0x1008d5e8
mov byte [esp + 0x8c], 4
call fcn.10006713
mov edx, dword [esp + 0x18]
mov eax, dword [str.LastUpdateCheckTime]
mov ecx, dword [0x10098200]
push edx
push eax
call fcn.10041850
call fcn.100333d0
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 0x10036d7a
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.10048230
lea ecx, [esp + 0x38]
push ecx
push 0x1008f8a8
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.100364c0
add esp, 8
cmp byte [esp + 0x13], bl
jne 0x10036ee6
cmp eax, 0xd
je 0x10036ee6
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.10036480
test al, al
je 0x10036f84
mov byte [esp + 0x12], 1
mov al, byte [esp + 0x12]
mov cl, byte [ebp + 8]
mov edx, dword [esp + 0x1c]
mov byte [0x10098272], cl
mov byte [0x10098271], al
mov eax, dword [edx]
mov ecx, 0x10098238
mov dword [0x10098274], eax
call fcn.10044400
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp byte [esp + 0x12], bl
setne cl
add ecx, 1
mov dword [edx], ecx
call fcn.10039480
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 0x10036e9e
mov ecx, dword [str._m__d__Y__H:_M]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call fcn.100367b0
mov eax, dword [esp + 0x14]
push eax
push 0x100
push 0x1008d5e8
mov byte [esp + 0x8c], 3
call fcn.10006713
mov ecx, dword [esp + 0x14]
mov edx, dword [str.LastUpdateCheckTime]
push ecx
mov ecx, dword [0x10098200]
push edx
call fcn.10041850
call fcn.100333d0
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.10011edb
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.1004e4c0
cmp eax, dword [0x10097ecc]
jae 0x10036d04
lea ecx, [esp + 0x48]
mov dword [edi], 3
mov dword [esp + 0x80], 0xffffffff
call fcn.10048230
jmp 0x10036e14
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.10036420
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.100367b0
mov eax, dword [esp + 0x18]
push eax
push 0x100
push 0x1008f8a8
mov dword [esp + 0x8c], 5
call fcn.10006713
mov ecx, dword [esp + 0x18]
mov edx, dword [str.NextUpdateCheckTime]
push ecx
mov ecx, dword [0x10098200]
push edx
call fcn.10041850
call fcn.10033350
call fcn.100333d0
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 0x10036f84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
push ecx
push 0x1008d900
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.100364c0
add esp, 8
cmp eax, 0xd
jne 0x10037036
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.10036420
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.100367b0
mov ecx, dword [esp + 0x14]
push ecx
push 0x100
push 0x1008d900
mov dword [esp + 0x8c], 6
call fcn.10006713
mov edx, dword [esp + 0x14]
mov ecx, dword [0x10098200]
push edx
push 0x1008d900
call fcn.10041850
call fcn.100333d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], edi
call fcn.10011edb
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x10036e0f
cmp byte [esp + 0x13], bl
je 0x1003704f
call fcn.10036960
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x10036e0f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.10036480
test al, al
jne 0x10036dd7
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x10036e0f