Function at 0x4a70c0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5290b9
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
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 - 0x16c]
push ecx
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x16c], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4a7124
mov dword [esi], 0xc0000018
jmp 0x4a7ab7
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x8c]
call fcn.004a6e30
mov edx, dword [ebp + 0x10]
push edx
lea edi, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.004a6c10
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x78], ebx
je 0x4a7a74
cmp dword [ebp - 0x1c], ebx
je 0x4a7a74
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 0x3c]
lea esi, [ebp - 0x164]
call fcn.004a12c0
mov ecx, esi
push ecx
mov byte [ebp - 4], 2
call fcn.00433f80
push str.https:__orion.ts.360.com_promo_
lea ecx, [ebp - 0x18c]
call fcn.0042a1b0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x18c]
push edx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 3
call fcn.0042a570
mov esi, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x174], esi
jb 0x4a71c3
mov eax, dword [ebp - 0x188]
push eax
call fcn.004f3984
add esp, 4
push str.premium
lea ecx, [ebp - 0x18c]
call fcn.0042a1b0
lea ecx, [ebp - 0x18c]
push ecx
xor cl, cl
lea edx, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00433e10
cmp dword [ebp - 0x174], esi
jb 0x4a7202
mov edx, dword [ebp - 0x188]
push edx
call fcn.004f3984
add esp, 4
and dword [ebp - 0x19c], 0xfffffe00
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x190], ebx
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x8c]
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x5402cc
push str.type
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 7
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004d6800
sub esp, 0x18
lea eax, [ebp - 0x30]
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x540164
push str.location
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 8
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004d6800
call fcn.00449580
sub esp, 0x18
mov ecx, esp
mov esi, 0xfffffeff
mov byte [ecx + 8], 2
and dword [ecx + 8], esi
mov dword [ebp - 0x168], 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 0x5446ff
push str.effective_count
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004d6800
call fcn.004a6900
sub esp, 0x18
mov ecx, esp
mov byte [ecx + 8], 2
and dword [ecx + 8], esi
mov dword [ebp - 0x168], 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 0x543161
push 0x54315c
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0xa
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004d6800
push 0x573d48
lea edi, [ebp - 0x18c]
call fcn.004073b0
mov byte [ebp - 4], 0xb
sub esp, 0x14
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x5431cc
push str.lang
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0xc
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.004d6800
mov byte [ebp - 4], 6
cmp dword [ebp - 0x174], 0x10
jb 0x4a738e
mov eax, dword [ebp - 0x188]
push eax
call fcn.004f3984
add esp, 4
push 0x573d44
lea edi, [ebp - 0x18c]
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0xd
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x53fe57
push 0x53fe54
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0xe
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0xd
call fcn.004d6800
mov byte [ebp - 4], 6
cmp dword [ebp - 0x174], 0x10
jb 0x4a73f2
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.004f3984
add esp, 4
lea esi, [ebp - 0x16c]
call fcn.00453170
push eax
lea edi, [ebp - 0x18c]
mov byte [ebp - 4], 0xf
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0x10
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x544550
push str.pver
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x11
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0x10
call fcn.004d6800
cmp dword [ebp - 0x174], 0x10
jb 0x4a745d
mov edx, dword [ebp - 0x188]
push edx
call fcn.004f3984
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x16c]
add eax, 0xfffffff0
mov dword [ebp - 0x174], 0xf
mov dword [ebp - 0x178], ebx
mov byte [ebp - 0x188], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7499
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x573d50
lea edi, [ebp - 0x18c]
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0x12
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x544703
push 0x544700
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x13
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0x12
call fcn.004d6800
mov byte [ebp - 4], 6
cmp dword [ebp - 0x174], 0x10
jb 0x4a74fd
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.004f3984
add esp, 4
push 0x573d54
lea edi, [ebp - 0x18c]
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0x14
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x544503
push 0x544500
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x15
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0x14
call fcn.004d6800
mov byte [ebp - 4], 6
cmp dword [ebp - 0x174], 0x10
jb 0x4a7561
mov edx, dword [ebp - 0x188]
push edx
call fcn.004f3984
add esp, 4
lea eax, [ebp - 0x16c]
push eax
call fcn.004a67d0
add esp, 4
push eax
lea edi, [ebp - 0x18c]
mov byte [ebp - 4], 0x16
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0x17
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x54452b
push str.default_browser
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x18
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0x17
call fcn.004d6800
cmp dword [ebp - 0x174], 0x10
jb 0x4a75d0
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.004f3984
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x16c]
add eax, 0xfffffff0
mov dword [ebp - 0x174], 0xf
mov dword [ebp - 0x178], ebx
mov byte [ebp - 0x188], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a760c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x170]
sub esp, 0x18
add eax, 0x40
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x53fbf7
push 0x53fbf4
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x19
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004d6800
mov eax, dword [ebp - 0x170]
sub esp, 0x18
add eax, 0x5c
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x53fbfc
push 0x53fbf8
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x1a
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
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 - 0x168], 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 - 0x1a4]
mov byte [ebp - 4], 0x1b
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
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 - 0x168], 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 - 0x1a4]
mov byte [ebp - 4], 0x1c
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004d6800
mov eax, dword [ebp - 0x170]
sub esp, 0x18
add eax, 0x90
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
mov byte [ebp - 4], 0x1d
push 0x54386a
push str.cookie
lea ecx, [ebp - 0x1a4]
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004d6800
call fcn.0045ab40
sub esp, 0x18
mov ecx, esp
mov byte [ecx + 8], 2
and dword [ecx + 8], 0xfffffeff
mov dword [ebp - 0x168], 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 0x544714
push str.ac_power
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x1e
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004d6800
push ebx
call fcn.004f504e
mov dword [ebp - 0x1ac], edx
mov edx, dword [0x570fac]
mov dword [ebp - 0x1b0], eax
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x570fac
call eax
add eax, 0x10
mov dword [ebp - 0x16c], eax
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x1f
call fcn.0045a9f0
mov edi, eax
lea ecx, [ebp - 0x1b0]
push ecx
lea esi, [ebp - 0x168]
mov byte [ebp - 4], 0x20
call fcn.0045b110
mov byte [ebp - 4], 0x21
cmp dword [edi + 0x18], 8
jb 0x4a7811
mov edi, dword [edi + 4]
jmp 0x4a7814
add edi, 4
mov edx, dword [eax]
push edi
push edx
push 0x533f98
lea edi, [ebp - 0x16c]
call fcn.0042b7f0
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x168]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x1f
call fcn.0042b820
lea ecx, [ebp - 0x16c]
push ecx
lea edi, [ebp - 0x18c]
call fcn.004073b0
sub esp, 0x14
mov byte [ebp - 4], 0x22
mov esi, esp
mov dword [ebp - 0x168], esp
call fcn.004d6510
push 0x540dac
push str.time
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x23
call fcn.004d7a50
mov edi, eax
mov byte [ebp - 4], 0x22
call fcn.004d6800
cmp dword [ebp - 0x174], 0x10
jb 0x4a78c2
mov edx, dword [ebp - 0x188]
push edx
call fcn.004f3984
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x70], vtable.Json::FastWriter.0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 0x50], bl
mov byte [ebp - 0x4f], bl
mov byte [ebp - 0x4e], bl
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x24
call fcn.004db420
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x168], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x4c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.0042a570
lea eax, [ebp - 0x164]
push eax
call fcn.00435380
mov esi, dword [ebp - 0x170]
lea eax, [esi + 0x78]
push eax
mov dword [ebp - 0x168], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 1
mov byte [ebp - 4], 0x26
cmp dword [esi + 0xb0], edi
jne 0x4a797c
mov eax, dword [esi + 0xac]
cmp eax, ebx
je 0x4a7976
push eax
mov eax, esi
call fcn.00435af0
test al, al
je 0x4a7970
mov ecx, dword [esi + 0xac]
push ecx
call fcn.004357e0
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp + 0x10]
push esi
lea ecx, [ebp - 0x164]
mov dword [esi + 0xb0], edi
mov dword [esi + 0xac], edx
mov dword [esi + 0xb8], eax
call fcn.00435db0
test al, al
jne 0x4a79b8
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], ebx
mov edi, 0xc0000001
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x1a8]
push edx
mov dword [ecx], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x34], 0x10
jb 0x4a79df
mov eax, dword [ebp - 0x48]
push eax
call fcn.004f3984
add esp, 4
mov edi, 0xf
lea esi, [ebp - 0x70]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0043bf90
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x16c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a7a1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.004d6730
lea esi, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.004336a0
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x4a7a4f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004f3984
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x74], esi
jb 0x4a7a6c
mov edx, dword [ebp - 0x88]
push edx
call fcn.004f3984
add esp, 4
mov eax, dword [ebp - 0x1a8]
jmp 0x4a7ab9
mov esi, dword [ebp - 0x1a8]
mov edi, 0x10
mov dword [esi], 0xc0000006
cmp dword [ebp - 0x18], edi
jb 0x4a7a96
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004f3984
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x74], edi
jb 0x4a7ab7
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.004f3984
add esp, 4
mov eax, esi
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 0xc