Function at 0x10025261
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0xc
call fcn.100b8c3f
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x100de539
push ebx
add ebx, 8
push ebx
push 8
call fcn.100b8c3f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.1002d857
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.100b8c3f
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x100d5289
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], esp
push 0
mov eax, 0x7f
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
xor eax, eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1002532a
push 0x48
push 0x4048b7a
push 6
call fcn.100b8c4b
add esp, 0xc
test eax, eax
je 0x10025bf9
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov eax, str.http:__tbip.alicdn.com_api_queryip
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10025d2e
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100253f9
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10025409
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10025419
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10025429
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10025439
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10025449
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10025459
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10025469
push ebx
call fcn.100b8c45
add esp, 4
lea eax, [ebp - 0x4c]
push eax
call fcn.1002a13f
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10025485
push ebx
call fcn.100b8c45
add esp, 4
push 0x20
call fcn.100b8c3f
add esp, 4
mov dword [ebp - 0x54], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100254d6
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x54]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x100254ed
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10025501
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10025515
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10025529
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
call fcn.100b8c45
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
mov eax, str.data.ip
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1002556d
push ebx
call fcn.100b8c45
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10025580
mov eax, 0x100d520e
push eax
push 1
mov ebx, 0x174
call fcn.100ba730
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100255a6
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [0x100e6a49]
test ebx, ebx
je 0x100255bd
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [0x100e6a49], eax
push 0x100d520e
push dword [0x100e6a49]
call fcn.100027e4
add esp, 8
cmp eax, 0
je 0x100257a8
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
mov eax, str.data.country
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1002561a
push ebx
call fcn.100b8c45
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.data.region
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10025655
push ebx
call fcn.100b8c45
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
mov eax, str.data.city
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10025690
push ebx
call fcn.100b8c45
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 1
mov eax, str.data.isp
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100256cb
push ebx
call fcn.100b8c45
add esp, 4
push dword [ebp - 0x40]
push 0x100d52d3
push dword [ebp - 0x34]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
mov ecx, 5
call fcn.10001088
add esp, 0x14
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100256fc
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1002570c
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1002571c
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1002572c
push ebx
call fcn.100b8c45
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x1002573f
mov eax, 0x100d520e
push eax
push 1
mov ebx, 0x174
call fcn.100ba730
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10025765
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10025779
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x100d52d3
push dword [0x100e6a49]
mov ecx, 3
call fcn.10001088
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x10025cb3
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 8
call fcn.100b8c3f
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push 0
mov eax, str.http:__ip.tool.chinaz.com_
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.1002a182
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x100258c2
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x100258d2
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100258e2
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x100258f2
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10025902
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10025912
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10025922
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10025932
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10025942
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10025952
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.100bcd30
add esp, 0x10
call fcn.100b8c45
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x10025988
mov eax, 0x100d5289
push eax
push 1
mov ebx, 0x168
call fcn.100b9a00
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x100259ae
push ebx
call fcn.100b8c45
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.1002c6fa
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x100259ca
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100259de
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.__dd_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str._dd_class_fz24__
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100039d7
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10025a2e
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10025a3e
push ebx
call fcn.100b8c45
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10025a51
mov eax, 0x100d520e
push eax
push 1
mov ebx, 0x174
call fcn.100ba730
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10025a77
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x100e6a49]
test ebx, ebx
je 0x10025a8e
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [0x100e6a49], eax
push 0x100d520e
push dword [0x100e6a49]
call fcn.100027e4
add esp, 8
cmp eax, 0
je 0x10025b4f
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x100de522
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str._dd_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100039d7
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10025afc
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10025b0c
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10025b20
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x100d52d3
push dword [0x100e6a49]
mov ecx, 3
call fcn.10001088
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x10025cb3
call fcn.1002c7b1
push reloc.WS2_32.dll_connect
push 0
push str.ns1.dnspod.net
push 1
mov ebx, 0x6f8
call fcn.100bf170
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 0x1002d96b
push 0x1a0a
lea eax, [ebp - 0x14]
push eax
push 0x100e6a4d
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10025bae
push ebx
call fcn.100b8c45
add esp, 4
push 0x80000301
push 0
push 0x64
push 1
mov ebx, 0x1c
mov eax, 0x100c34e0
call fcn.100b9790
add esp, 0x10
mov eax, dword [0x100e6a49]
test eax, eax
je 0x10025bef
push eax
mov ebx, eax
call fcn.1000101d
inc eax
push eax
call fcn.100b8c3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10025cb3
push 0
mov ebx, 0x44
mov eax, 0x100c5720
call fcn.100b9790
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10025c35
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10025c31
imul eax, dword [ebx]
jmp 0x10025c26
mov ecx, eax
test ecx, ecx
je 0x10025c54
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10025c4d
push ebx
push eax
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10025c3b
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.100020b9
mov eax, 0
cmp eax, ecx
jl 0x10025c88
push 0x536
push 0x4048b7a
push 1
call fcn.100b8c4b
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x10025cae
push eax
mov ebx, eax
call fcn.1000101d
inc eax
push eax
call fcn.100b8c3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10025cb3
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10025cd4
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10025ce4
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10025d02
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10025cfe
imul eax, dword [ebx]
jmp 0x10025cf3
mov ecx, eax
test ecx, ecx
je 0x10025d21
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10025d1a
push ebx
push eax
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10025d08
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret