Function at 0x494cf0
Capabilities:
Initialize winsock library
Reference google public dns server
Resolve dns
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e249b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x50c7c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x494d98
mov dword [esi + 0x14], 0xf
xor ecx, ecx
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [0], cl
je 0x494d89
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x494d80
sub ecx, edx
push ecx
push 0
mov ecx, esi
call fcn.00403860
jmp 0x4950a0
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
push str.mus.lenovo.com.cn
call edi
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
jne 0x494ddf
push str.mus.lenovo.com.cn
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x494dd0
push str.8.8.8.8
call edi
mov edi, eax
mov dword [ebp - 0x238], edi
jmp 0x494de1
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edi, dword [eax]
mov dword [ebp - 0x238], edi
jmp 0x494de1
mov edi, eax
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov edx, eax
mov dword [ebp - 0x248], edx
cmp edx, 0xffffffff
jne 0x494e02
push 0
mov ecx, esi
call fcn.00403030
jmp 0x4950a0
xorps xmm0, xmm0
mov ecx, 0x1e
movq qword [ebp - 0x244], xmm0
movdqa xmm0, xmmword [str.0000000000000000]
mov byte [ebp - 0x244], 1
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmmword [ebp - 0x24], xmm0
jmp 0x494e30
mov eax, ecx
dec ecx
mov dword [ebp - 0x24c], ecx
test eax, eax
je 0x495072
push 0x1388
push 0x3c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x244]
push eax
push 0x20
lea eax, [ebp - 0x34]
push eax
push edi
push edx
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x494ff2
mov eax, dword [ebp - 0x70]
cmp eax, edi
je 0x495059
mov ecx, dword [ebp - 0x23c]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00494190
mov edi, eax
cmp edi, 0x50ee28
je 0x494ece
cmp dword [0x50ee3c], 0x10
jb 0x494ea8
push dword [0x50ee28]
call fcn.004a78e3
add esp, 4
push edi
mov ecx, 0x50ee28
mov dword [0x50ee3c], 0xf
mov dword [0x50ee38], 0
mov byte [0x50ee28], 0
call fcn.00403310
cmp dword [ebp - 0x8c], 0x10
jb 0x494ee5
push dword [ebp - 0xa0]
call fcn.004a78e3
add esp, 4
cmp dword [0x50ee3c], 0x10
mov ecx, 0x50ee28
mov edi, dword [0x50ee38]
mov eax, 7
cmovae ecx, dword [0x50ee28]
mov edx, str.invalid
cmp edi, eax
cmovb eax, edi
push eax
call fcn.0040b760
add esp, 4
test eax, eax
jne 0x495031
cmp edi, 7
jb 0x495031
cmp edi, 7
setne al
test eax, eax
jne 0x495031
push dword [ebp - 0x70]
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004947a0
mov edi, eax
cmp edi, 0x50edf8
je 0x494f91
cmp dword [0x50ee0c], 0x10
jb 0x494f6b
push dword [0x50edf8]
call fcn.004a78e3
add esp, 4
push edi
mov ecx, 0x50edf8
mov dword [0x50ee0c], 0xf
mov dword [0x50ee08], 0
mov byte [0x50edf8], 0
call fcn.00403310
cmp dword [ebp - 0x8c], 0x10
jb 0x494fa8
push dword [ebp - 0xa0]
call fcn.004a78e3
add esp, 4
cmp dword [0x50ee0c], 0x10
mov ecx, 0x50edf8
mov edi, dword [0x50ee08]
mov eax, 7
cmovae ecx, dword [0x50edf8]
mov edx, str.invalid
cmp edi, eax
cmovb eax, edi
push eax
call fcn.0040b760
add esp, 4
test eax, eax
jne 0x495009
cmp edi, 7
jb 0x495009
cmp edi, 7
setne al
test eax, eax
jne 0x495009
mov edi, dword [ebp - 0x238]
inc byte [ebp - 0x244]
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x248]
jmp 0x494e30
push 0x4ef4d1
mov ecx, 0x50edc8
call fcn.00419000
push 0x50edf8
mov ecx, esi
call fcn.00403000
lea ecx, [ebp - 0x88]
call fcn.00403100
jmp 0x4950a0
push 0x4ef4d1
mov ecx, 0x50edc8
call fcn.00419000
push 0x50ee28
mov ecx, esi
call fcn.00403000
lea ecx, [ebp - 0x88]
call fcn.00403100
jmp 0x4950a0
push 0x50edc8
mov ecx, esi
call fcn.00403000
lea ecx, [ebp - 0x88]
call fcn.00403100
jmp 0x4950a0
push edx
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x50edc8
mov byte [esi], 0
call fcn.00403430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret 4