Function at 0x4407a0
Capabilities:
Get socket status
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9be4
mov eax, dword fs:[0]
push eax
sub esp, 0x944
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x94c], edi
test edi, edi
jne 0x4407f2
push 0x540fb0
lea eax, [ebp - 0x950]
mov dword [ebp - 0x950], edi
push eax
call sub.MSVCR120.dll__CxxThrowException
mov edi, dword [edi]
xor eax, eax
mov dword [ebp - 0x837], eax
mov dword [ebp - 0x833], eax
mov word [ebp - 0x82f], ax
mov byte [ebp - 0x82d], al
mov byte [ebp - 0x838], 0
mov dword [ebp - 0x83c], 2
mov ecx, dword [edi + 0x18]
mov eax, ecx
sar eax, 8
mov edx, ecx
movzx esi, al
mov ebx, ecx
movzx eax, cl
lea ecx, [ebp - 0x950]
shl eax, 8
add esi, eax
sar edx, 0x10
shl esi, 8
movzx eax, dl
add esi, eax
sar ebx, 0x18
movzx eax, bl
shl esi, 8
add esi, eax
mov dword [ebp - 0x838], esi
push dword [edi + 0x18]
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_unsigned_int_]
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Network.dll_public:_class_QString___thiscall_QHostAddress::toString_void_]
lea ecx, [ebp - 0x950]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_]
mov esi, dword [ebp - 0x94c]
mov eax, dword [esi]
push dword [eax + 0x18]
lea eax, [ebp - 0x820]
push eax
call fcn.00440650
add esp, 8
lea ecx, [ebp - 0x81c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [ebp - 0x94c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x820]
mov dword [ebp - 0x944], 0
or edi, 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
lea ecx, [ebp - 0x81c]
mov byte [ebp - 4], 5
push ecx
push 0x440490
push 1
push 0xc
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
push eax
push 0
push 0x400
lea eax, [ebp - 0x944]
push eax
call fcn.004010e0
test eax, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94c]
sete bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, bl
je 0x440938
push dword [ebp - 0x944]
call section..text
mov edi, eax
cmp edi, 0xffffffff
jne 0x440938
push dword [ebp - 0x944]
call fcn.004010a0
push 0
lea eax, [ebp - 0x948]
mov dword [ebp - 0x948], 0
push eax
push 0
push 0x400
push 0xc
lea ecx, [ebp - 0x820]
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call sub.DNSAPI.dll_DnsQuery_W
test eax, eax
jne 0x44098c
mov ecx, dword [ebp - 0x948]
test ecx, ecx
je 0x44099e
push ecx
mov eax, esp
push 0xffffffffffffffff
push dword [ecx + 0x18]
push eax
call fcn.0043c570
add esp, 0xc
mov ecx, esi
call fcn.00428910
mov eax, dword [ebp - 0x948]
test eax, eax
je 0x44099e
push 1
push eax
call sub.DNSAPI.dll_DnsFree
test edi, edi
je 0x440aae
cmp edi, 0xffffffff
je 0x440aae
lea eax, [ebp - 0x94c]
mov ecx, esi
push eax
call fcn.00423840
mov ecx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 4
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x440a9b
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x93c], edi
push eax
push 0
push 0
lea eax, [ebp - 0x940]
mov dword [ebp - 0x940], 1
push eax
push 0
mov dword [ebp - 0x82c], 3
mov dword [ebp - 0x828], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jne 0x440a9b
push dword [ebp - 0x944]
call fcn.00401050
lea ecx, [ebp - 0x81c]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::count_void_const]
test eax, eax
je 0x440a9b
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x818]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [esi]
mov byte [ebp - 4], 7
test eax, eax
je 0x440a6a
cmp dword [eax], 1
je 0x440a6a
mov ecx, esi
call fcn.0041ba10
mov ecx, dword [esi]
lea eax, [ebp - 0x818]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
add ecx, 0x38
push eax
call edi
lea ecx, [ebp - 0x818]
mov byte [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push dword [ebp - 0x944]
call fcn.004010a0
jmp 0x440ab4
push dword [ebp - 0x944]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
call fcn.004010a0
jmp 0x440ab4
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea eax, [ebp - 0x94c]
mov ecx, esi
push eax
call fcn.00423840
mov ecx, eax
mov byte [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 4
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x440bdc
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x814]
push 0
push 0
push 0
push 0x401
push eax
push 0x10
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.WS2_32.dll_GetNameInfoW]
test eax, eax
jne 0x440bdc
push 0xffffffffffffffff
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.0043c570
add esp, 0xc
lea ecx, [ebp - 0x818]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::trimmed_void_]
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
add esp, 8
test al, al
jne 0x440bcc
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x94c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [esi]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x440bae
cmp dword [eax], 1
je 0x440bae
mov ecx, esi
call fcn.0041ba10
mov ecx, dword [esi]
lea eax, [ebp - 0x94c]
push eax
add ecx, 0x38
call edi
lea ecx, [ebp - 0x94c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x818]
mov byte [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x81c]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret