Function at 0x10019047
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push 0xc
call fcn.100abdd1
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], 0x100dc613
push ebx
add ebx, 8
push ebx
push 8
call fcn.100abdd1
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.10020705
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.100abdd1
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x100d42b8
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 0x10019110
push 0x48
push 0x4048b7a
push 6
call fcn.100abddd
add esp, 0xc
test eax, eax
je 0x1001990e
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
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
lea eax, [ebp - 0x2c]
push eax
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
push dword [ebp - 0x38]
mov eax, str.http:__tbip.alicdn.com_api_queryip
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10019a43
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100191bb
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100191cb
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100191db
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100191eb
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100191fb
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001920b
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1001921b
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1001922b
push ebx
call fcn.100abdd7
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.1001cdca
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10019247
push ebx
call fcn.100abdd7
add esp, 4
lea eax, [ebp - 0x44]
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 - 0x44]
test ebx, ebx
je 0x10019269
push ebx
call fcn.100abdd7
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
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 + 0x28]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100192a2
push ebx
call fcn.100abdd7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x100192b5
mov eax, 0x100d424e
push eax
push 1
mov ebx, 0x174
call fcn.100ada90
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100192db
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [0x100e6cc5]
test ebx, ebx
je 0x100192f2
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [0x100e6cc5], eax
push 0x100d424e
push dword [0x100e6cc5]
call fcn.10001676
add esp, 8
cmp eax, 0
je 0x100194d5
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
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 + 0x28]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1001934d
push ebx
call fcn.100abdd7
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
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 + 0x28]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10019386
push ebx
call fcn.100abdd7
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
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 + 0x28]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100193bf
push ebx
call fcn.100abdd7
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
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 + 0x28]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100193f8
push ebx
call fcn.100abdd7
add esp, 4
push dword [ebp - 0x40]
push 0x100d4300
push dword [ebp - 0x34]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
mov ecx, 5
call fcn.100010a5
add esp, 0x14
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10019429
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10019439
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10019449
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10019459
push ebx
call fcn.100abdd7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x1001946c
mov eax, 0x100d424e
push eax
push 1
mov ebx, 0x174
call fcn.100ada90
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10019492
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100194a6
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x100d4300
push dword [0x100e6cc5]
mov ecx, 3
call fcn.100010a5
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x100199c8
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 8
call fcn.100abdd1
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
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
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
push 1
push 0
mov eax, str.http:__ip.tool.chinaz.com_
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.1001d14c
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100195d7
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x100195e7
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100195f7
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10019607
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10019617
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10019627
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10019637
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10019647
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10019657
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10019667
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.100b0f10
add esp, 0x10
call fcn.100abdd7
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x1001969d
mov eax, 0x100d42b8
push eax
push 1
mov ebx, 0x168
call fcn.100acd80
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x100196c3
push ebx
call fcn.100abdd7
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.1001f34e
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x100196df
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100196f3
push ebx
call fcn.100abdd7
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.100132b4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10019743
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10019753
push ebx
call fcn.100abdd7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10019766
mov eax, 0x100d424e
push eax
push 1
mov ebx, 0x174
call fcn.100ada90
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001978c
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x100e6cc5]
test ebx, ebx
je 0x100197a3
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [0x100e6cc5], eax
push 0x100d424e
push dword [0x100e6cc5]
call fcn.10001676
add esp, 8
cmp eax, 0
je 0x10019864
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x100dc5fc
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.100132b4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10019811
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10019821
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10019835
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x100d4300
push dword [0x100e6cc5]
mov ecx, 3
call fcn.100010a5
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x100199c8
call fcn.1001f65f
push reloc.WS2_32.dll_connect
push 0
push str.ns1.dnspod.net
push 1
mov ebx, 0x6f8
call fcn.100aff90
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 0x10020819
push 0x1a0a
lea eax, [ebp - 0x14]
push eax
push 0x100e6cc9
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 0x100198c3
push ebx
call fcn.100abdd7
add esp, 4
push 0x80000301
push 0
push 0x64
push 1
mov ebx, 0x1c
mov eax, 0x100b7310
call fcn.100acb10
add esp, 0x10
mov eax, dword [0x100e6cc5]
test eax, eax
je 0x10019904
push eax
mov ebx, eax
call fcn.1000103a
inc eax
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100199c8
push 0
mov ebx, 0x44
mov eax, 0x100b9550
call fcn.100acb10
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 0x1001994a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10019946
imul eax, dword [ebx]
jmp 0x1001993b
mov ecx, eax
test ecx, ecx
je 0x10019969
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10019962
push ebx
push eax
call fcn.100abdd7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10019950
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001d16
mov eax, 0
cmp eax, ecx
jl 0x1001999d
push 0x536
push 0x4048b7a
push 1
call fcn.100abddd
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 0x100199c3
push eax
mov ebx, eax
call fcn.1000103a
inc eax
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100199c8
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100199e9
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100199f9
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10019a17
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10019a13
imul eax, dword [ebx]
jmp 0x10019a08
mov ecx, eax
test ecx, ecx
je 0x10019a36
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10019a2f
push ebx
push eax
call fcn.100abdd7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10019a1d
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret