Function at 0x6407d96f
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x48
mov eax, dword [0x640f0ebc]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
lea ebx, [esi + 0x4c]
mov word [ebx], ax
lea edi, [esi + 0x48]
mov ecx, edi
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::clear_void_
xor ecx, ecx
mov word [esi + 0x54], cx
lea ecx, [esi + 0x50]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::clear_void_
mov eax, dword [esi + 0x64]
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x6407d9bd
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.640ae828
add esp, 0x48
ret
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x1c
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [esp + 0x34], xmm0
movq qword [esp + 0x44], xmm0
call dword [sym.imp.WS2_32.dll_getsockname]
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x6407db59
push edi
push ebx
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x64]
call fcn.6407f6e0
movzx eax, word [esp + 0x38]
add esp, 0x10
sub eax, 2
je 0x6407db4d
sub eax, 0x15
je 0x6407db41
mov dword [esi + 0x44], 0xffffffff
push 5
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 4
call sym.Qt5Network.dll_public:_bool___thiscall_QHostAddress::operator_enum_QHostAddress::SpecialAddress_const
test al, al
je 0x6407da79
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x1b
push 0x29
push dword [esi + 0x64]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x6407da79
cmp dword [esp + 0x18], eax
jne 0x6407da79
push 4
mov ecx, edi
mov dword [esi + 0x44], 2
call sym.Qt5Network.dll_public:_class_QHostAddress____thiscall_QHostAddress::operator_enum_QHostAddress::SpecialAddress_
push 0x60
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xffff0000
mov dword [esp + 0x58], 0
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_class_QIPv6Address_const__
push eax
mov ecx, edi
call sym.Qt5Network.dll_public:_bool___thiscall_QHostAddress::isInSubnet_class_QHostAddress_const___int_const
lea ecx, [esp + 0x14]
mov bl, al
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
test bl, bl
je 0x6407daec
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
mov ecx, edi
call sym.Qt5Network.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_bool__const
cmp byte [esp + 0x13], 0
je 0x6407daec
test eax, eax
jne 0x6407daec
push 4
mov ecx, edi
mov dword [esi + 0x44], 2
call sym.Qt5Network.dll_public:_class_QHostAddress____thiscall_QHostAddress::operator_enum_QHostAddress::SpecialAddress_
lea eax, [esp + 0x1c]
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push eax
push dword [esi + 0x64]
movups xmmword [esp + 0x34], xmm0
movq qword [esp + 0x44], xmm0
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x6407db86
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x54]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x64]
call fcn.6407f6e0
add esp, 0x10
mov dword [esi + 0x5c], 1
mov dword [esi + 0x58], 1
jmp 0x6407db88
mov dword [esi + 0x44], 1
jmp 0x6407da2b
mov dword [esi + 0x44], 0
jmp 0x6407da2b
call ebp
cmp eax, 0x2736
jne 0x6407da2b
push 8
push 0xa
mov ecx, esi
call fcn.6407cae0
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.640ae828
add esp, 0x48
ret
call ebp
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 4
push eax
push 0x1008
push 0xffff
push dword [esi + 0x64]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x6407dbd6
call ebp
or eax, 0xffffffff
mov ecx, dword [esp + 0x54]
pop ebp
pop edi
mov dword [esi + 0x40], eax
mov al, 1
pop esi
pop ebx
xor ecx, esp
call fcn.640ae828
add esp, 0x48
ret
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x6407dbe3
xor eax, eax
jmp 0x6407dbbe
cmp eax, 2
jne 0x6407dbbb
mov eax, 1
jmp 0x6407dbbe