Function at 0x4a7ae0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52659f
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x134]
mov edi, edx
push ecx
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4a7b4e
mov dword [edi], 0xc0000018
mov eax, edi
jmp 0x4a83c5
mov eax, dword [esi + 0x3c]
push eax
push str.Content_Type:_application_json
lea edx, [ebp - 0x12c]
push edx
call fcn.00433fd0
mov esi, 0xf
mov dword [ebp - method.QHAPI::HttpPostCommandJson.virtual_0], vtable.QHAPI::HttpPostCommandJson.0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x70], bl
push 0x57109e
push 4
mov dword [ebp - 4], ebx
call fcn.004f500f
add esp, 8
cmp eax, ebx
je 0x4a7b99
push eax
call fcn.004336e0
jmp 0x4a7b9b
xor eax, eax
push eax
lea eax, [ebp - 0x84]
push eax
call int.00439da0
push 0x27
push str.https:__orion.ts.360.com_promo_premium_
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
call fcn.0042a0d0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.0042a570
mov edi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x144], edi
jb 0x4a7c04
mov edx, dword [ebp - 0x158]
push edx
call fcn.004f3984
add esp, 4
push 8
push str.iap_quit
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
call fcn.0042a0d0
lea eax, [ebp - 0x15c]
push eax
xor cl, cl
lea edx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.00433e10
cmp dword [ebp - 0x144], edi
jb 0x4a7c57
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.004f3984
add esp, 4
and dword [ebp - 0x174], 0xfffffe00
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
push 0x573d48
lea edi, [ebp - 0x15c]
mov byte [ebp - 4], 4
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x134], esp
call fcn.004d6510
push 0x5431cc
push str.lang
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 6
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 5
call fcn.004d6800
mov byte [ebp - 4], 4
cmp dword [ebp - 0x144], 0x10
jb 0x4a7cdb
mov edx, dword [ebp - 0x158]
push edx
call fcn.004f3984
add esp, 4
push 0x573d44
lea edi, [ebp - 0x15c]
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x134], esp
call fcn.004d6510
push 0x53fe57
push 0x53fe54
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 8
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 7
call fcn.004d6800
mov byte [ebp - 4], 4
cmp dword [ebp - 0x144], 0x10
jb 0x4a7d3f
mov eax, dword [ebp - 0x158]
push eax
call fcn.004f3984
add esp, 4
lea esi, [ebp - 0x134]
call fcn.00453170
push eax
lea edi, [ebp - 0x15c]
mov byte [ebp - 4], 9
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0xa
mov esi, esp
mov dword [ebp - 0x130], esp
call fcn.004d6510
push 0x544550
push str.pver
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xb
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0xa
call fcn.004d6800
cmp dword [ebp - 0x144], 0x10
jb 0x4a7daa
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.004f3984
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a7de6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x573d50
lea edi, [ebp - 0x15c]
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0xc
mov esi, esp
mov dword [ebp - 0x130], esp
call fcn.004d6510
push 0x544703
push 0x544700
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xd
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0xc
call fcn.004d6800
mov byte [ebp - 4], 4
cmp dword [ebp - 0x144], 0x10
jb 0x4a7e4a
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.004f3984
add esp, 4
push 0x573d54
lea edi, [ebp - 0x15c]
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0xe
mov esi, esp
mov dword [ebp - 0x130], esp
call fcn.004d6510
push 0x544503
push 0x544500
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xf
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0xe
call fcn.004d6800
mov byte [ebp - 4], 4
cmp dword [ebp - 0x144], 0x10
jb 0x4a7eae
mov edx, dword [ebp - 0x158]
push edx
call fcn.004f3984
add esp, 4
mov eax, dword [ebp - 0x160]
sub esp, 0x18
add eax, 0x40
mov esi, esp
mov dword [ebp - 0x130], esp
call fcn.004d6510
push 0x53fbf7
push 0x53fbf4
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x10
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 4
call fcn.004d6800
mov eax, dword [ebp - 0x160]
sub esp, 0x18
add eax, 0x5c
mov esi, esp
mov dword [ebp - 0x130], esp
call fcn.004d6510
push 0x53fbfc
push 0x53fbf8
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x11
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 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 [ebp - 0x130], 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, [ebp - 0x17c]
mov byte [ebp - 4], 0x12
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 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 [ebp - 0x130], 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, [ebp - 0x17c]
mov byte [ebp - 4], 0x13
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 4
call fcn.004d6800
mov eax, dword [ebp - 0x160]
sub esp, 0x18
add eax, 0x90
mov esi, esp
mov dword [ebp - 0x130], esp
call fcn.004d6510
mov byte [ebp - 4], 0x14
push 0x54386a
push str.cookie
lea ecx, [ebp - 0x17c]
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 4
call fcn.004d6800
call fcn.00445130
sub esp, 0x18
mov ecx, esp
mov byte [ecx + 8], 2
and dword [ecx + 8], 0xfffffeff
mov dword [ebp - 0x130], 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 0x540195
push str.flags
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x15
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 4
call fcn.004d6800
and dword [ebp - 0x154], 0xfffffe00
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x138]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.004505d0
add esp, 8
cmp al, 1
jne 0x4a80c5
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x130], esp
lea eax, [ebp - 0x15c]
push eax
push edx
call fcn.004d6560
push 0x53fcf8
push str.utm_tags
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x18
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0x17
call fcn.004d6800
push ebx
call fcn.004f504e
mov dword [ebp - 0x184], edx
mov edx, dword [0x570fac]
mov dword [ebp - 0x188], eax
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x570fac
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x19
call fcn.0045a9f0
mov edi, eax
lea ecx, [ebp - 0x188]
push ecx
lea esi, [ebp - 0x138]
mov byte [ebp - 4], 0x1a
call fcn.0045b110
mov esi, 8
mov byte [ebp - 4], 0x1b
cmp dword [edi + 0x18], esi
jb 0x4a812d
mov edi, dword [edi + 4]
jmp 0x4a8130
add edi, 4
mov edx, dword [eax]
push edi
push edx
push 0x533f98
lea edi, [ebp - 0x134]
call fcn.0042b7f0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a816d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x18c], esi
jb 0x4a8188
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.004f3984
add esp, 4
lea edx, [ebp - 0x134]
push edx
lea edi, [ebp - 0x1a4]
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0x1c
mov esi, esp
mov dword [ebp - 0x130], esp
call fcn.004d6510
push 0x540dac
push str.time
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x1d
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0x1c
call fcn.004d6800
cmp dword [ebp - 0x18c], 0x10
jb 0x4a81ea
mov eax, dword [ebp - 0x1a0]
push eax
call fcn.004f3984
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x38], vtable.Json::FastWriter.0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.004db420
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x130], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0042a570
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00435380
mov esi, dword [ebp - 0x160]
lea edi, [esi + 0x78]
push edi
mov dword [ebp - 0x130], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 1
mov byte [ebp - 4], 0x20
cmp dword [esi + 0xb0], ecx
jne 0x4a82a9
mov eax, dword [esi + 0xac]
cmp eax, ebx
je 0x4a82a3
push eax
mov eax, esi
call fcn.00435af0
test al, al
je 0x4a8298
mov edx, dword [esi + 0xac]
push edx
call fcn.004357e0
mov dword [esi + 0xac], ebx
mov ecx, 1
mov dword [esi + 0xb0], ebx
mov eax, dword [ebp - 0xf0]
mov dword [esi + 0xb0], ecx
mov dword [ebp - 0x138], ecx
push esi
lea ecx, [ebp - 0x12c]
mov dword [esi + 0xac], eax
mov dword [esi + 0xb8], 0x20000000
call fcn.00435db0
test al, al
jne 0x4a82ee
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], ebx
mov eax, 0xc0000001
jmp 0x4a82f4
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x180]
push edi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0x10
cmp dword [ebp - 0x3c], esi
jb 0x4a8319
mov edx, dword [ebp - 0x50]
push edx
call fcn.004f3984
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
mov dword [ebp - 0x38], vtable.Json::FastWriter.0
cmp dword [ebp - 0x1c], esi
jb 0x4a833f
mov eax, dword [ebp - 0x30]
push eax
call fcn.004f3984
add esp, 4
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x38], vtable.Json::Writer.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a8375
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x15c]
mov byte [ebp - 4], 4
call fcn.004d6730
lea esi, [ebp - 0x17c]
mov byte [ebp - 4], bl
call fcn.004d6730
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], 0x10
jb 0x4a83ab
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.004f3984
add esp, 4
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x70], bl
call fcn.00434120
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret 4