Function at 0x4a5170
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e89ea
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x60], 0
jg 0x4a57a8
mov cl, byte [eax + 0x50]
mov edx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov byte [eax + 8], 0
mov eax, dword [edx]
mov byte [ebp - 0x16], cl
push eax
mov ecx, 0x56e524
call dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
mov ebx, dword [eax + 0x18]
push 0xa
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x571ab0
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x571ac8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea eax, [ebp - 0x20]
push eax
mov esi, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004a13b0
mov dword [ebp - 4], 1
mov edi, dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
mov ecx, eax
call edi
or esi, 0xffffffff
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0xa
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x571ab4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov dword [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x571ac8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
push ecx
mov esi, ebx
call fcn.004a13b0
mov ecx, eax
mov dword [ebp - 4], 3
call edi
mov esi, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QDate___cdecl_QDate::currentDate_void_]
mov eax, dword [ebp - 0x28]
add esi, eax
add esp, 4
cmp dword [ebp - 0x1c], esi
mov esi, dword [ebp + 8]
jg 0x4a52ad
cmp byte [esi + 0x50], 0
je 0x4a5539
cmp byte [esi + 0x50], 0
mov byte [ebp - 0x15], 0
je 0x4a5372
mov ecx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [ecx]
mov edi, dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
push eax
mov ecx, 0x56e524
call edi
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call edi
mov ecx, eax
call fcn.00405070
mov dword [ebp - 4], 4
mov eax, dword [esi + 0x54]
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 1
mov byte [esi + 0x52], 1
mov byte [ebp - 0x15], 1
cmp eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
je 0x4a536b
cmp dword [eax + 8], 0
je 0x4a536b
push 0
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne al
test al, al
jne 0x4a536b
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x4f81e4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
call fcn.004ab710
mov byte [esi + 0x51], 0
mov byte [esi + 0x52], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
cmp byte [ebp - 0x15], 0
mov dword [ebp - 4], 6
jne 0x4a53d1
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ecx
lea ecx, [ebp - 0x74]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x571ab0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x571ac8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov esi, ebx
mov byte [ebp - 4], 6
call fcn.004a0dd0
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x4f7e10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.CheckPhoneSW
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x571ac8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov esi, ebx
mov byte [ebp - 4], 6
call fcn.004a0dd0
push ecx
lea edx, [ebx + 4]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [ebx]
push eax
call fcn.004b39a0
mov edi, dword [ebp + 8]
add edi, 0x48
mov eax, edi
lea esi, [ebp - 0x54]
call fcn.00441ff0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
lea esp, [esp]
mov edx, eax
inc eax
mov dword [ebp - 0x50], eax
test edx, edx
jne 0x4a548c
cmp ecx, dword [ebp - 0x48]
je 0x4a548c
mov esi, dword [ecx]
test eax, eax
je 0x4a5481
test esi, esi
je 0x4a547b
push esi
call fcn.0049eb80
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x50]
add esp, 4
dec eax
mov dword [ebp - 0x50], eax
jmp 0x4a5461
mov ecx, dword [ebp - 0x4c]
add ecx, 4
mov dword [ebp - 0x4c], ecx
jmp 0x4a5450
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4a54b6
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4a54b6
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
test eax, eax
jne 0x4a54b6
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
call fcn.0042b480
mov edi, dword [ebp + 8]
push edi
call fcn.004aa400
push 0x4f81e4
lea ecx, [ebp - 0x30]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov esi, eax
push 0x4f81e4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push esi
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.004ae990
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [edi + 0x6d], 0
mov ecx, edi
jne 0x4a551e
call fcn.004a5850
jmp 0x4a5523
call fcn.004a5da0
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov edi, dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
push 0xa
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x571b1c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov dword [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x571b14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea edx, [ebp - 0x34]
push edx
mov esi, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004a13b0
mov ecx, eax
mov dword [ebp - 4], 0xf
call edi
mov esi, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test esi, esi
jne 0x4a568f
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x571b1c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov dword [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x571b14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004a0c00
test al, al
jne 0x4a568f
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4f7e0c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov dword [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x571b18
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x571b14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov esi, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004a0ca0
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4f7e0c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov dword [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x571b1c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x571b14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov dword [ebp - 4], 0xffffffff
call fcn.004a0dd0
push ecx
lea eax, [ebx + 4]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [ebx]
push ecx
call fcn.004b39a0
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
add esi, edx
cmp dword [ebp - 0x1c], esi
jg 0x4a569f
cmp byte [ebp - 0x16], 0
je 0x4a56ad
mov eax, dword [ebp + 8]
push eax
call fcn.004a6040
jmp 0x4a5797
push 0xa
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x571b18
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov dword [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x571b14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [ebp - 0x3c]
push ecx
mov esi, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004a13b0
mov ecx, eax
mov dword [ebp - 4], 0x16
call edi
or edi, 0xffffffff
lea ecx, [ebp - 0x3c]
mov esi, eax
mov dword [ebp - 4], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, 1
jne 0x4a5797
push 0
push 0
push 0x5717e4
lea ecx, [ebp - 0x44]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
mov ebx, 0x17
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
push 0x5717f0
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x18
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
mov byte [ebp - 4], 0x1a
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [ebp - 0x84]
call esi
test dword [ebp - 0x5c], 0x3fffffff
je 0x4a5783
push 0
lea ecx, [ebp - 0x64]
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QVariant::toInt_bool__const]
test eax, eax
jle 0x4a5783
mov ecx, dword [ebp + 8]
add ecx, 0x24
call fcn.004a26c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], edi
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push 0x2932e00
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QTimer::setInterval_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4