Function at 0x100394a0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006aefe
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1008d414]
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 0x100395db
cmp eax, ebx
je 0x10039501
test byte [esp + 0x24], 0x20
je 0x10039762
mov ecx, dword [esi + 4]
push 0x66
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.1002baf0
push 0x3c
call fcn.10050422
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, ebx
mov dword [esp + 0x80], ebx
je 0x10039544
push 1
mov ecx, esi
call fcn.10047e60
mov dword [esi], vtable.Candeo::OKDlg.0
mov dword [esi + 0x20], 0xe6
jmp 0x10039546
xor esi, esi
or edi, 0xffffffff
push 0x154
mov dword [esp + 0x84], edi
call fcn.10050422
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x80], 1
je 0x1003957f
push ebx
push ebx
push ebx
push esi
mov ecx, eax
call fcn.1003a8f0
mov esi, eax
jmp 0x10039581
xor esi, esi
push 0x7f04
mov ecx, esi
mov dword [esp + 0x84], edi
call fcn.1002cc00
push 0x10090cb8
mov ecx, esi
call fcn.1002dcb0
mov eax, dword [0x10090cb4]
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 0x100910c0
push eax
mov ecx, esi
call edx
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003979f
push ebx
call fcn.10052e0a
mov dword [esp + 0x2c], eax
mov eax, dword [0x1009fbbc]
add esp, 4
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], edx
mov byte [esp + 0x17], bl
call fcn.1004c770
push 0x1009fa80
mov dword [esp + 0x84], 2
call fcn.10035260
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10039648
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.1004c7a0
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 0x10094730
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.10038e50
lea edx, [esp + 0x38]
mov esi, eax
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1005099b
add esp, 0x10
cmp eax, ebx
jne 0x100397bb
mov eax, dword [esp + 0x64]
add eax, 0x76c
cmp eax, 0x7d0
jne 0x100397bb
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.10039140
mov ecx, dword [esp + 0x18]
push ecx
push 0x100
push 0x10094730
mov byte [esp + 0x8c], 4
call fcn.1000a486
mov edx, dword [esp + 0x18]
mov eax, dword [str.LastUpdateCheckTime]
mov ecx, dword [0x1009fb88]
push edx
push eax
call fcn.10045bd0
call fcn.10035640
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 0x1003970a
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.1004c7a0
lea ecx, [esp + 0x38]
push ecx
push 0x100969f0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.10038e50
add esp, 8
cmp byte [esp + 0x13], bl
jne 0x10039876
cmp eax, 0xd
je 0x10039876
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.10038e10
test al, al
je 0x10039914
mov byte [esp + 0x12], 1
mov al, byte [esp + 0x12]
mov cl, byte [ebp + 8]
mov edx, dword [esp + 0x1c]
mov byte [0x1009fbfa], cl
mov byte [0x1009fbf9], al
mov eax, dword [edx]
mov ecx, 0x1009fbc0
mov dword [0x1009fbfc], eax
call fcn.10048c30
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp byte [esp + 0x12], bl
setne cl
add ecx, 1
mov dword [edx], ecx
call fcn.1003bef0
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 0x1003982e
mov ecx, dword [str._m__d__Y__H:_M]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call fcn.10039140
mov eax, dword [esp + 0x14]
push eax
push 0x100
push 0x10094730
mov byte [esp + 0x8c], 3
call fcn.1000a486
mov ecx, dword [esp + 0x14]
mov edx, dword [str.LastUpdateCheckTime]
push ecx
mov ecx, dword [0x1009fb88]
push edx
call fcn.10045bd0
call fcn.10035640
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.100024f0
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.10052aa0
cmp eax, dword [0x1009f854]
jae 0x10039694
lea ecx, [esp + 0x48]
mov dword [edi], 3
mov dword [esp + 0x80], 0xffffffff
call fcn.1004c7a0
jmp 0x100397a4
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.10038db0
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.10039140
mov eax, dword [esp + 0x18]
push eax
push 0x100
push 0x100969f0
mov dword [esp + 0x8c], 5
call fcn.1000a486
mov ecx, dword [esp + 0x18]
mov edx, dword [str.NextUpdateCheckTime]
push ecx
mov ecx, dword [0x1009fb88]
push edx
call fcn.10045bd0
call fcn.100355c0
call fcn.10035640
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 0x10039914
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
push ecx
push 0x10094a48
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.10038e50
add esp, 8
cmp eax, 0xd
jne 0x100399c6
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.10038db0
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.10039140
mov ecx, dword [esp + 0x14]
push ecx
push 0x100
push 0x10094a48
mov dword [esp + 0x8c], 6
call fcn.1000a486
mov edx, dword [esp + 0x14]
mov ecx, dword [0x1009fb88]
push edx
push 0x10094a48
call fcn.10045bd0
call fcn.10035640
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], edi
call fcn.100024f0
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003979f
cmp byte [esp + 0x13], bl
je 0x100399df
call fcn.100392f0
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003979f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.10038e10
test al, al
jne 0x10039767
mov edx, dword [ebp + 0xc]
mov dword [edx], 4
jmp 0x1003979f