Function at 0x401710
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2b4
mov eax, dword [0x430090]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
push 4
push 0x3000
push 0x2000
push 0
call dword [0x42903c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x401a4a
push 0
call dword [0x42926c]
test eax, eax
jne 0x401a4a
lea ebx, [esp + 0x10]
call fcn.00401200
xor ebx, ebx
cmp al, bl
je 0x401a4a
push 0xc4
lea eax, [esp + 0xb0]
push ebx
push eax
mov dword [esp + 0xb4], ebx
call fcn.004101c0
xor eax, eax
lea ecx, [esp + 0x90]
add esp, 0xc
mov dword [esp + 0x14], ebx
mov byte [esp + 0x84], bl
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov eax, dword [esp + 0x10]
push ecx
lea edi, [esp + 0x18]
lea ebx, [esp + 0xac]
call fcn.004014f0
add esp, 4
test al, al
je 0x401a4a
call dword [0x429068]
xor ebx, ebx
push 0x103
lea edx, [esp + 0x1b5]
push ebx
push edx
mov byte [esp + 0x1bc], bl
call fcn.004101c0
mov edi, dword [0x429054]
add esp, 0xc
lea eax, [esp + 0x1b0]
push eax
push 0x104
call edi
mov esi, dword [0x42905c]
push str.KuaiZip_setup.exe
lea ecx, [esp + 0x1b4]
push ecx
call esi
call fcn.004034d0
test al, al
je 0x40185b
call fcn.004033d0
mov byte [0x435704], al
mov ecx, str.app_download_start
call fcn.00401c70
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x1b0]
call fcn.00401590
test eax, eax
jne 0x40189d
mov ecx, str.app_download_fail
call fcn.00401c70
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.0040dd4b
mov esp, ebp
pop ebp
ret
mov ecx, str.app_download_done
call fcn.00401c70
xor eax, eax
lea edx, [esp + 0x1b0]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], bl
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov word [esp + 0x75], ax
mov byte [esp + 0x77], al
call fcn.00401340
add esp, 4
test al, al
je 0x401a4a
xor eax, eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov word [esp + 0x81], ax
mov byte [esp + 0x83], al
lea ecx, [esp + 0x74]
lea eax, [esp + 0x84]
mov byte [esp + 0x74], bl
call fcn.00401010
mov eax, 0x10
xor ecx, ecx
jmp 0x401920
mov edx, dword [esp + ecx + 0x74]
cmp edx, dword [esp + ecx + 0x64]
jne 0x401a3a
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x401920
push 0x103
lea eax, [esp + 0xad]
push ebx
push eax
mov byte [esp + 0xb4], bl
call fcn.004101c0
add esp, 0xc
lea ecx, [esp + 0xa8]
push ecx
push 0x104
call edi
push str.KuaiZip_setup.exe
lea edx, [esp + 0xac]
push edx
call esi
push str.__s__id
lea eax, [esp + 0xac]
push eax
call esi
push str.pc_sndagame
lea ecx, [esp + 0xac]
push ecx
call esi
push 0x44
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.004101c0
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x44
call dword [0x4290e4]
mov ecx, str.app_create_process_anzhuangbao_start
call fcn.00401c70
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [esp + 0xc8]
push eax
push ebx
call dword [0x429060]
test eax, eax
je 0x401a1d
mov ecx, dword [esp + 0x64]
push 0xffffffffffffffff
push ecx
call dword [0x42906c]
mov edx, dword [esp + 0x64]
mov esi, dword [0x429050]
push edx
call esi
mov eax, dword [esp + 0x68]
push eax
call esi
mov ecx, str.app_create_process_anzhuangbao_ok
jmp 0x401a22
mov ecx, str.app_create_process_anzhuangbao_fail
call fcn.00401c70
call fcn.00401d90
lea ecx, [esp + 0x1b0]
push ecx
call dword [0x429058]
mov eax, dword [0x435658]
cmp eax, ebx
je 0x401a4a
push eax
call dword [0x42904c]
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0040dd4b
mov esp, ebp
pop ebp
ret