Function at 0x41e1c8
Capabilities:
Initialize winsock library
Resolve dns
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push edi
mov dword [ebp - 0x218], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 1
mov byte [ebp - 0x2c], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x2b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x74], 0
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0x73]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x7b], eax
mov word [ebp - 0x77], ax
mov byte [ebp - 0x75], al
cmp dword [ebp + 8], 0
jne 0x41e254
jmp 0x41e4ad
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
lea edx, [ebp - 0x210]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41e279
jmp 0x41e4ab
push str.gamesafe.qq.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41e292
jmp 0x41e4a9
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 4], eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
call sub.iphlpapi.dll_IcmpCreateFile
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x41e2be
jmp 0x41e4a7
mov byte [ebp - 0x7c], 1
push 0x20
push 0x30
lea ecx, [ebp - 0x2c]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x74]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x34], 0
je 0x41e48c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x41e48c
push 0xbb8
push 0x3c
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x7c]
push eax
push 0x20
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x214]
push eax
call sub.iphlpapi.dll_IcmpSendEcho
test eax, eax
je 0x41e444
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
xor eax, eax
mov al, byte [edx]
cmp eax, 0xa
je 0x41e3ed
mov ecx, dword [ebp - 0x80]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xac
jne 0x41e366
mov eax, dword [ebp - 0x80]
xor ecx, ecx
mov cl, byte [eax + 1]
cmp ecx, 0x10
jl 0x41e366
mov edx, dword [ebp - 0x80]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0x1f
jle 0x41e3ed
mov ecx, dword [ebp - 0x80]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xc0
jne 0x41e385
mov eax, dword [ebp - 0x80]
xor ecx, ecx
mov cl, byte [eax + 1]
cmp ecx, 0xa8
je 0x41e3ed
cmp dword [ebp - 0x38], 0
jne 0x41e3ed
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.0041f409
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ecx], eax
push 8
mov ecx, dword [ebp - 0x218]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.0041f730
push 8
mov edx, dword [ebp - 0x218]
add edx, 0xc
push edx
mov ecx, dword [ebp - 0x218]
call fcn.0041f91f
mov dword [ebp - 0x38], 1
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xa
jae 0x41e417
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax + edx*4 + 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0xa
jb 0x41e431
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xa
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
cmp edx, dword [ebp - 4]
jne 0x41e442
mov dword [ebp - 0x34], 0
jmp 0x41e464
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xa
jb 0x41e47e
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xa
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x7c]
add dl, 1
mov byte [ebp - 0x7c], dl
jmp 0x41e2d8
mov eax, dword [ebp - 0x214]
push eax
call sub.iphlpapi.dll_IcmpCloseHandle
mov dword [ebp - 0x214], 0xffffffff
mov eax, dword [ebp - 8]
jmp 0x41e4af
jmp 0x41e4a2
jmp 0x41e4a2
jmp 0x41e4a2
jmp 0x41e4a2
pop edi
mov esp, ebp
pop ebp
ret 8