Function at 0x4d37a0
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x21c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [eax]
mov dword [ebp - 0x1e0], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
ja 0x4d3ebc
mov dword [esp + 4], 0x5d
mov dword [esp], str._b__:__:25_0_5_2_0_4__0_9__01___0_9__0_9___._3__:25_0_5_2_0_4__0_9__01___0_9__0_9____b
call dword [method.QString.fromAscii_helper_char_const__int_]
lea ebx, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
lea ecx, [ebp - 0x1dc]
mov dword [esp], ebx
call dword [method.QRegExp.QRegExp_QString_const__Qt::CaseSensitivity__QRegExp::PatternSyntax_]
mov eax, dword [ebp - 0x1a8]
sub esp, 0xc
mov edx, dword [eax]
test edx, edx
je 0x4d3e44
cmp edx, 0xffffffff
je 0x4d3833
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1a8]
je 0x4d3e44
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1dc]
mov dword [esp], eax
call dword [method.QRegExp.exactMatch_QString_const__const]
sub esp, 4
test al, al
jne 0x4d3919
mov edi, dword [method.QString.compare_helper_QChar_const__int__char_const__int__Qt::CaseSensitivity_]
mov esi, 3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1f0]
mov dword [esp], eax
call method.Pinger.hostNameToIp_QString_const_
mov eax, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x1d8]
sub esp, 8
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1d8], eax
mov edx, dword [eax]
test edx, edx
je 0x4d3e20
cmp edx, 0xffffffff
je 0x4d38aa
lock sub dword [eax], 1
je 0x4d3e20
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x5ee8e0
mov edx, dword [eax + 4]
mov dword [esp + 4], edx
add eax, dword [eax + 0xc]
mov dword [esp], eax
call edi
test eax, eax
jne 0x4d38e4
sub esi, 1
jne 0x4d385b
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x5ee8e0
mov edx, dword [eax + 4]
mov dword [esp + 4], edx
add eax, dword [eax + 0xc]
mov dword [esp], eax
call edi
test eax, eax
je 0x4d3db1
mov eax, dword [ebp - 0x1e0]
xor edx, edx
cmp eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov ecx, dword [eax + 4]
je 0x4d3931
add eax, dword [eax + 0xc]
mov edx, eax
lea eax, [ebp - 0x1d4]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [method.QString.toLocal8Bit_helper_QChar_const__int_]
mov eax, dword [ebp - 0x1d4]
mov esi, dword [eax + 0xc]
mov edx, dword [eax]
add esi, eax
test edx, edx
je 0x4d3e62
cmp edx, 0xffffffff
je 0x4d3972
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1d4]
je 0x4d3e62
mov dword [esp + 4], ebx
mov dword [esp], 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
mov ebx, eax
jne 0x4d3db1
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 3
mov dword [esp], 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
sub esp, 0x18
cmp eax, 0xffffffff
je 0x4d3db1
lea edi, [ebp - 0x1cc]
mov dword [ebp - 0x1d0], 0x10
mov dword [ebp - 0x1cc], 0x3e8
mov dword [esp + 0x10], 4
mov dword [esp + 8], 0x1006
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0xffff
mov dword [ebp - 0x1ec], eax
mov dword [esp], eax
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
call edi
sub esp, 0x14
cmp eax, 0xffffffff
je 0x4d3db1
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], 0x3e8
mov dword [esp + 0x10], 4
mov dword [esp + 8], 0x1005
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xffff
mov dword [esp], eax
call edi
sub esp, 0x14
cmp eax, 0xffffffff
je 0x4d3db1
xor ecx, ecx
mov edi, 2
test esi, esi
mov dword [ebp - 0x1b6], 0
mov dword [ebp - 0x1b2], 0
mov dword [ebp - 0x1ae], 0
mov word [ebp - 0x1aa], cx
mov word [ebp - 0x1b8], di
je 0x4d3aa7
cmp byte [esi], 0
jne 0x4d3ea5
mov dword [esp], esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
sub esp, 4
test eax, eax
mov esi, eax
je 0x4d3db1
mov ecx, dword [esi + 0xc]
movsx edx, word [esi + 0xa]
lea eax, [ebp - 0x1b4]
mov ecx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sym._memcpy
movzx eax, word [esi + 8]
mov word [ebp - 0x1b8], ax
mov eax, dword [ebp - 0x1f0]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x208], edi
call edi
mov dword [esp + 8], esi
mov dword [esp + 4], 8
mov dword [esp], eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call edi
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x4d3db1
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._memset
mov ecx, dword [ebp - 0x1f0]
mov dword [esp + 4], 0xc
mov dword [esp], esi
call method.Pinger.FillICMPData_char__int_
mov eax, dword [ebp - 0x1f0]
sub esp, 8
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x1f4], ecx
call eax
mov ecx, dword [ebp - 0x1f4]
mov dword [esp + 4], 8
mov dword [esp], eax
mov dword [esp + 8], ecx
call edi
mov edx, dword [ebp + 0xc]
sub esp, 0xc
mov dword [ebp - 0x1f4], eax
test edx, edx
jle 0x4d3ec5
mov eax, 0xa
mov ecx, 0xc
mov dword [ebp - 0x204], 0
sub ecx, eax
mov edx, eax
add eax, 2
lea edi, [ecx - 2]
shr edx, 1
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1fc], edi
lea edi, [esi + edx*2 + 2]
mov dword [ebp - 0x1f8], edi
xor eax, eax
mov word [esi + 2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
mov eax, 0xc
mov word [esi + 6], bx
cmp eax, 1
jle 0x4d3e10
mov edi, dword [ebp - 0x200]
mov eax, esi
xor edx, edx
add edi, esi
lea esi, [esi]
movzx ecx, word [eax]
add eax, 2
add edx, ecx
cmp edi, eax
jne 0x4d3c00
mov ecx, dword [ebp - 0x1f8]
mov eax, dword [ebp - 0x1fc]
test eax, eax
je 0x4d3c21
movzx eax, byte [ecx]
add edx, eax
mov eax, edx
movzx edx, dx
shr eax, 0x10
add edx, eax
mov eax, edx
shr eax, 0x10
add edx, eax
lea eax, [ebp - 0x1b8]
not edx
mov word [esi + 2], dx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_sendto]
sub esp, 0x18
cmp eax, 0xffffffff
je 0x4d3da0
lea eax, [ebp - 0x1d0]
lea edi, [ebp - 0x1c8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1f0]
mov dword [esp + 0x10], edi
mov eax, dword [eax + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1f4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_recvfrom]
sub esp, 0x18
cmp eax, 0xffffffff
je 0x4d3df3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [ebp - 0x1f0]
mov dword [esp + 8], edi
mov dword [esp], eax
call method.Pinger.DecodeICMPHeader_char__int__sockaddr_in_
sub esp, 0xc
add dword [ebp - 0x204], eax
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
add ebx, 1
cmp dword [ebp + 0xc], ebx
jne 0x4d3bd0
mov eax, dword [ebp - 0x1ec]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
mov edi, dword [ebp - 0x208]
call edi
mov ebx, dword [ebp - 0x1f4]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
call ebx
sub esp, 0xc
call edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x204]
xor edx, edx
mov esi, dword [ebp - 0x1f0]
div dword [ebp + 0xc]
mov ecx, esi
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call method.Pinger.speedTestFinished_QString_const__int_
sub esp, 8
mov ecx, esi
mov dword [esp], ebx
call method.Pinger.speedToLevel_int_
sub esp, 4
mov ebx, eax
jmp 0x4d3db6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x274c
je 0x4d3cfc
mov ebx, 0xffffffff
lea ecx, [ebp - 0x1dc]
call dword [method.QRegExp.QRegExp__]
mov eax, dword [ebp - 0x1e0]
mov edx, dword [eax]
test edx, edx
je 0x4d3e80
cmp edx, 0xffffffff
je 0x4d3de7
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1e0]
je 0x4d3e80
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x274c
jne 0x4d3db1
add dword [ebp - 0x204], 0x7d0
jmp 0x4d3cfc
mov ecx, esi
mov eax, 0xc
xor edx, edx
jmp 0x4d3c18
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x4d38aa
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x4d3833
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x4d3972
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp], esi
call dword [sym.imp.WS2_32.dll_inet_addr]
sub esp, 4
mov dword [ebp - 0x1b4], eax
jmp 0x4d3ae7
lock add dword [edx], 1
jmp 0x4d37cb
mov dword [ebp - 0x204], 0
jmp 0x4d3d08