Function at 0x4a8d50
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52a509
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [esp + 0x24]
mov esi, ecx
mov edi, edx
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4a8dbf
mov dword [edi], 0xc0000018
mov eax, edi
jmp 0x4a960d
mov eax, dword [esi + 0x3c]
push eax
push str.Content_Type:_application_json
lea ecx, [esp + 0xb4]
push ecx
call fcn.00433fd0
mov esi, 0xf
mov dword [esp + 0xac], vtable.QHAPI::HttpPostCommandJson.0
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
push 0x57109e
push 4
mov dword [esp + 0x1a0], ebx
call fcn.004f500f
add esp, 8
cmp eax, ebx
je 0x4a8e1c
push eax
call fcn.004336e0
jmp 0x4a8e1e
xor eax, eax
push eax
lea edx, [esp + 0x158]
push edx
call int.00439da0
push 0x1f
push str.https:__orion.ts.360.com_promo_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.0042a0d0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1a4], 1
call fcn.0042a570
mov edi, 0x10
mov byte [esp + 0x198], bl
cmp dword [esp + 0x3c], edi
jb 0x4a8e83
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004f3984
add esp, 4
push 7
push str.toolbox
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.0042a0d0
lea edx, [esp + 0x24]
push edx
xor cl, cl
lea edx, [esp + 0xb0]
mov byte [esp + 0x19c], 2
call fcn.00433e10
cmp dword [esp + 0x3c], edi
jb 0x4a8ecd
mov eax, dword [esp + 0x28]
push eax
call fcn.004f3984
add esp, 4
and dword [esp + 0x2c], 0xfffffe00
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push 0x573d48
lea edi, [esp + 0x54]
mov byte [esp + 0x19c], 4
call fcn.004073b0
sub esp, 0x14
mov byte [esp + 0x1b0], 5
mov esi, esp
mov dword [esp + 0x38], esp
call fcn.004d6510
push 0x5431cc
push str.lang
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 6
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 5
call fcn.004d6800
mov byte [esp + 0x198], 4
cmp dword [esp + 0x68], 0x10
jb 0x4a8f53
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004f3984
add esp, 4
push 0x573d44
lea edi, [esp + 0x54]
call fcn.004073b0
sub esp, 0x14
mov byte [esp + 0x1b0], 7
mov esi, esp
mov dword [esp + 0x38], esp
call fcn.004d6510
push 0x53fe57
push 0x53fe54
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 8
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 7
call fcn.004d6800
mov byte [esp + 0x198], 4
cmp dword [esp + 0x68], 0x10
jb 0x4a8fbd
mov edx, dword [esp + 0x54]
push edx
call fcn.004f3984
add esp, 4
lea esi, [esp + 0x20]
call fcn.00453170
push eax
lea edi, [esp + 0x54]
mov byte [esp + 0x19c], 9
call fcn.004073b0
sub esp, 0x14
mov byte [esp + 0x1b0], 0xa
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.004d6510
push 0x544550
push str.pver
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0xb
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 0xa
call fcn.004d6800
cmp dword [esp + 0x68], 0x10
jb 0x4a902c
mov eax, dword [esp + 0x54]
push eax
call fcn.004f3984
add esp, 4
mov byte [esp + 0x198], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9064
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x573d50
lea edi, [esp + 0x54]
call fcn.004073b0
sub esp, 0x14
mov byte [esp + 0x1b0], 0xc
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.004d6510
push 0x544703
push 0x544700
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0xd
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 0xc
call fcn.004d6800
mov byte [esp + 0x198], 4
cmp dword [esp + 0x68], 0x10
jb 0x4a90ce
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004f3984
add esp, 4
push 0x573d54
lea edi, [esp + 0x54]
call fcn.004073b0
sub esp, 0x14
mov byte [esp + 0x1b0], 0xe
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.004d6510
push 0x544503
push 0x544500
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0xf
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 0xe
call fcn.004d6800
mov byte [esp + 0x198], 4
cmp dword [esp + 0x68], 0x10
jb 0x4a9138
mov edx, dword [esp + 0x54]
push edx
call fcn.004f3984
add esp, 4
mov eax, dword [esp + 0x48]
sub esp, 0x18
add eax, 0x40
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.004d6510
push 0x53fbf7
push 0x53fbf4
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x10
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
mov eax, dword [esp + 0x48]
sub esp, 0x18
add eax, 0x5c
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.004d6510
push 0x53fbfc
push 0x53fbf8
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x11
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
mov ecx, dword [0x573d64]
sub esp, 0x18
mov eax, esp
mov esi, 0xfffffeff
mov byte [eax + 8], 2
and dword [eax + 8], esi
mov dword [esp + 0x2c], esp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], ecx
mov dword [eax + 4], ebx
push 0x54470b
push str.ts_type
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x12
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
call fcn.00453260
mov ecx, dword [eax + 8]
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 2
and dword [eax + 8], esi
mov dword [esp + 0x2c], esp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], ecx
mov dword [eax + 4], ebx
push 0x5431c7
push 0x5431c4
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x13
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
mov ecx, dword [ebp + 8]
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 2
and dword [eax + 8], esi
mov dword [esp + 0x2c], esp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], ecx
mov dword [eax + 4], ebx
push 0x543baf
push str.tool_id
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x14
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x23]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x23], 1
call fcn.00448780
sub esp, 0x14
mov ecx, esp
mov byte [ecx + 8], 2
and dword [ecx + 8], esi
mov dword [esp + 0x2c], esp
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx], eax
mov dword [ecx + 4], ebx
push 0x5431df
push str.premium
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x15
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
call fcn.0045ab70
sub esp, 0x18
mov ecx, esp
mov byte [ecx + 8], 2
and dword [ecx + 8], esi
mov dword [esp + 0x2c], esp
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx], eax
mov dword [ecx + 4], ebx
push 0x54454a
push str.protection_day
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x16
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
call fcn.004285a0
mov edi, eax
cmp byte [edi + 0x270], bl
jne 0x4a936f
mov esi, edi
call fcn.00428740
mov esi, 0xfffffeff
cmp dword [edi], ebx
je 0x4a9386
mov edi, dword [edi + 0x268]
cmp edi, ebx
je 0x4a9386
push ebx
push ebx
call edi
add esp, 8
jmp 0x4a9388
xor eax, eax
sub esp, 0x18
mov ecx, esp
mov byte [ecx + 8], 2
and dword [ecx + 8], esi
mov dword [esp + 0x2c], esp
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx], eax
mov dword [ecx + 4], ebx
push 0x54478b
push str.usage_count
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x17
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
mov eax, dword [esp + 0x48]
sub esp, 0x18
add eax, 0x90
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.004d6510
push 0x54386a
push str.cookie
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b8], 0x18
call fcn.004d7a50
mov edi, eax
mov byte [esp + 0x1b0], 4
call fcn.004d6800
mov esi, 0xf
mov dword [esp + 0x6c], vtable.Json::FastWriter.0
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], bl
mov byte [esp + 0x8e], bl
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x1a0], 0x19
call fcn.004db420
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x1b4], 0x1a
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb4]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.0042a570
lea eax, [esp + 0xc8]
push eax
call fcn.00435380
mov esi, dword [esp + 0x48]
lea edi, [esi + 0x78]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 1
mov byte [esp + 0x198], 0x1b
cmp dword [esi + 0xb0], ecx
jne 0x4a94f4
mov eax, dword [esi + 0xac]
cmp eax, ebx
je 0x4a94ee
push eax
mov eax, esi
call fcn.00435af0
test al, al
je 0x4a94e3
mov ecx, dword [esi + 0xac]
push ecx
call fcn.004357e0
mov dword [esi + 0xac], ebx
mov ecx, 1
mov dword [esi + 0xb0], ebx
mov edx, dword [esp + 0xe8]
mov dword [esi + 0xb0], ecx
mov dword [esp + 0x20], ecx
push esi
lea ecx, [esp + 0xb0]
mov dword [esi + 0xac], edx
call fcn.00435db0
test al, al
jne 0x4a952f
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], ebx
mov eax, 0xc0000001
jmp 0x4a9533
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
push edi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x10
cmp dword [esp + 0xa8], edi
jb 0x4a955e
mov edx, dword [esp + 0x94]
push edx
call fcn.004f3984
add esp, 4
mov esi, 0xf
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
mov dword [esp + 0x6c], vtable.Json::FastWriter.0
cmp dword [esp + 0x88], edi
jb 0x4a9596
mov eax, dword [esp + 0x74]
push eax
call fcn.004f3984
add esp, 4
mov dword [esp + 0x88], esi
lea esi, [esp + 0x24]
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x6c], vtable.Json::Writer.0
mov byte [esp + 0x198], bl
call fcn.004d6730
mov dword [esp + 0x198], 0xffffffff
cmp dword [esp + 0x17c], edi
jb 0x4a95e4
mov ecx, dword [esp + 0x168]
push ecx
call fcn.004f3984
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
call fcn.00434120
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.004f398f
mov esp, ebp
pop ebp
ret 4