Function at 0x64067dc0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x7a8
mov eax, dword [0x640f0ebc]
xor eax, esp
mov dword [esp + 0x7a4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
push edi
mov dword [esp + 0x24], eax
lea edi, [esp + 0xa8]
mov eax, dword [0x640b0258]
mov dword [esp + 8], eax
lea eax, [esp + 0x2c]
push eax
mov eax, edi
mov dword [esp + 0x44], edi
push eax
push 0
push 0x1c
push 0
mov dword [esp + 0x40], 0x2f0
call esi
cmp eax, 0x6f
jne 0x64067e4d
push dword [esp + 0x2c]
call dword [0x640b0ec0]
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
test edi, edi
je 0x64068503
lea eax, [esp + 0x2c]
push eax
push edi
push 0
push 0x1c
push 0
call esi
test eax, eax
je 0x64067e55
push edi
jmp 0x640684fa
test eax, eax
jne 0x64068503
mov dword [esp + 0x1c], edi
nop dword [eax]
push 0x24
call fcn.640ae2b5
add esp, 4
mov esi, eax
mov ecx, esi
call dword [0x640b03b4]
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov ecx, edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call dword [0x640b0de0]
lea eax, [esi + 0x18]
mov ecx, eax
mov dword [esp + 0x28], eax
call dword [0x640b0de0]
lea eax, [esi + 0x1c]
mov ecx, eax
mov dword [esp + 0x38], eax
call dword [0x640b0de0]
mov eax, dword [0x640b0258]
lea ecx, [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x20], ecx
mov eax, dword [eax]
cmp eax, 1
je 0x64067fcb
test eax, eax
je 0x64067fcb
mov eax, dword [esp + 8]
mov dword [esp + 0xc], bind
push 1
mov ecx, dword [eax + 8]
lea eax, [eax + ecx*4]
add eax, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
call dword [0x640b0cc4]
mov ecx, dword [esp + 0xc]
mov edi, eax
mov eax, dword [esp + 8]
add ecx, 4
mov edx, dword [eax + 8]
add ecx, edx
add edx, 4
lea ecx, [eax + ecx*4]
lea edx, [eax + edx*4]
cmp dword [esp + 0x10], edx
je 0x64067f4b
sub ecx, edx
sar ecx, 2
test ecx, ecx
jle 0x64067f4b
lea eax, [ecx*4]
push eax
push dword [esp + 0x14]
push edx
call fcn.640af6d4
mov eax, dword [esp + 0x14]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0xc]
add ecx, 4
lea edx, [eax + ecx*4]
mov ecx, dword [eax + 8]
add ecx, 5
add ecx, dword [esp + 0xc]
lea ecx, [eax + ecx*4]
cmp dword [esp + 0x10], ecx
je 0x64067f94
sub edx, ecx
sar edx, 2
test edx, edx
jle 0x64067f94
lea eax, [edx*4]
push eax
push dword [esp + 0x14]
push ecx
call fcn.640af6d4
add esp, 0xc
mov eax, dword [edi]
test eax, eax
je 0x64067fad
cmp eax, 0xffffffff
je 0x64067fb7
or eax, 0xffffffff
lock xadd dword [edi], eax
setne al
test al, al
jne 0x64067fb7
push edi
call dword [0x640b0cc0]
add esp, 4
mov eax, dword [esp + 8]
lea edi, [esi + 0x14]
mov ecx, dword [eax + 8]
add ecx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 0x10], esi
jmp 0x64067fd7
lea ecx, [esp + 8]
call dword [0x640b0cbc]
mov dword [eax], esi
mov edx, dword [esp + 0x1c]
mov dword [esi + 4], 0
mov eax, dword [edx + 0x48]
test eax, eax
je 0x64067fee
mov dword [esi + 4], eax
jmp 0x64067ffc
mov eax, dword [edx + 4]
test eax, eax
mov ecx, dword [esi + 4]
cmovne ecx, eax
mov dword [esi + 4], ecx
mov ecx, bind
cmp dword [edx + 0x3c], ecx
cmovb ecx, dword [edx + 0x3c]
mov dword [esi + 8], ecx
mov ecx, 4
mov dword [esi + 0xc], 4
cmp dword [edx + 0x44], 1
jne 0x64068029
mov dword [esi + 0xc], 7
mov ecx, 7
test byte [edx + 0x38], 0x10
jne 0x64068035
or ecx, 0x20
mov dword [esi + 0xc], ecx
mov eax, dword [edx + 0x40]
cmp eax, 0x17
jne 0x64068046
or ecx, 0x10
mov dword [esi + 0xc], ecx
mov eax, dword [edx + 0x40]
add eax, 0xfffffffa
cmp eax, 0xfd
ja case.0x64068057.7
movzx eax, byte [eax + 0x64068580]
jmp dword [eax*4 + 0x64068558]
mov dword [esi + 0x10], 3
jmp case.0x64068057.7
mov dword [esi + 0x10], 7
jmp case.0x64068057.7
mov dword [esi + 0x10], 6
jmp case.0x64068057.7
mov dword [esi + 0x10], 4
jmp case.0x64068057.7
or ecx, 8
mov dword [esi + 0x10], 1
mov dword [esi + 0xc], ecx
jmp case.0x64068057.7
mov dword [esi + 0x10], 8
jmp case.0x64068057.7
mov dword [esi + 0x10], 0xd
jmp case.0x64068057.7
mov dword [esi + 0x10], 0xc
jmp case.0x64068057.7
mov dword [esi + 0x10], 0xa
push 0x101
lea eax, [esp + 0x39c]
push eax
lea eax, [edx + 0xb0]
push eax
call dword [sym.imp.IPHLPAPI.DLL_ConvertInterfaceLuidToNameW]
test eax, eax
jne 0x640680fc
push 0xffffffffffffffff
lea eax, [esp + 0x39c]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [0x640b0a18]
add esp, 0xc
mov ecx, edi
push eax
call dword [0x640b0d88]
lea ecx, [esp + 0x44]
call dword [0x640b0d94]
mov eax, dword [edi]
mov esi, dword [esp + 0x1c]
cmp dword [eax + 4], 0
jne 0x6406812e
push 0xffffffffffffffff
push dword [esi + 0xc]
lea eax, [esp + 0x50]
push eax
call dword [0x640b0a80]
add esp, 0xc
mov ecx, edi
push eax
call dword [0x640b0d88]
lea ecx, [esp + 0x48]
call dword [0x640b0d94]
push 0xffffffffffffffff
push dword [esi + 0x28]
lea eax, [esp + 0x54]
push eax
call dword [0x640b0a18]
mov ecx, dword [esp + 0x34]
add esp, 0xc
push eax
call dword [0x640b0d88]
lea ecx, [esp + 0x4c]
call dword [0x640b0d94]
mov edx, dword [esi + 0x34]
test edx, edx
je 0x64068184
lea eax, [esi + 0x2c]
push eax
push edx
lea eax, [esp + 0x58]
push eax
call fcn.64060f00
mov ecx, dword [esp + 0x44]
add esp, 0xc
push eax
call dword [0x640b0d88]
lea ecx, [esp + 0x50]
call dword [0x640b0d94]
mov edi, dword [esi + 0x10]
mov dword [esp + 0x28], edi
test edi, edi
je 0x640684db
cmp dword [edi + 0x1c], 0
je 0x640684c8
lea ecx, [esp + 0x18]
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::constructor_void_
mov esi, dword [edi + 0xc]
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_void_
test esi, esi
je 0x64068291
movzx eax, word [esi]
cmp eax, 2
jne 0x640681da
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_htonl]
push eax
lea ecx, [esp + 0x18]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
jmp 0x64068291
cmp eax, 0x17
jne 0x64068269
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x18]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setAddress_class_QIPv6Address_const__
mov esi, dword [esi + 0x18]
test esi, esi
je 0x64068291
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_ConvertInterfaceIndexToLuid]
test eax, eax
jne 0x6406823e
push 0x101
lea eax, [esp + 0x5a4]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.IPHLPAPI.DLL_ConvertInterfaceLuidToNameW]
test eax, eax
jne 0x6406823e
push 0xffffffffffffffff
lea eax, [esp + 0x5a4]
push eax
lea eax, [esp + 0x38]
push eax
call dword [0x640b0a18]
jmp 0x6406824c
push 0xa
lea eax, [esp + 0x34]
push esi
push eax
call dword [0x640b0664]
add esp, 0xc
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setScopeId_class_QString_const__
lea ecx, [esp + 0x30]
call dword [0x640b0d94]
jmp 0x64068291
push 0
push 0
push 0
lea ecx, [esp + 0xa0]
call dword [0x640b0d14]
mov ecx, eax
movzx eax, word [esi]
push eax
push str.Got_unknown_socket_family__d
push ecx
call dword [0x640b0d10]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call sym.Qt5Network.dll_public:_void___thiscall_QDnsDomainNameRecord::constructor_class_QDnsDomainNameRecord_const__
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::setIp_class_QHostAddress_const__
lea ecx, [esp + 0x34]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
movzx eax, byte [edi + 0x2c]
lea ecx, [esp + 0x18]
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::setPrefixLength_int_
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x60]
push 1
push 0
cmp eax, 0xffffffff
jne 0x640682eb
call dword [0x640b0a6c]
mov esi, dword [0x640b01b8]
jmp 0x640682fa
mov esi, dword [0x640b01b8]
imul eax, eax, 0x3e8
push eax
call esi
movups xmm0, xmmword [esp + 0x60]
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x70]
push 1
movups xmmword [esp + 0x84], xmm0
push 0
cmp eax, 0xffffffff
jne 0x6406831f
call dword [0x640b0a6c]
jmp 0x64068328
imul eax, eax, 0x3e8
push eax
call esi
movups xmm0, xmmword [esp + 0x80]
sub esp, 0x10
lea ecx, [esp + 0x28]
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x90]
movups xmmword [eax], xmm0
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::setAddressLifetime_class_QDeadlineTimer__class_QDeadlineTimer_
mov al, byte [edi + 4]
lea ecx, [esp + 0x18]
and al, 1
movzx eax, al
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::setDnsEligibility_enum_QNetworkAddressEntry::DnsEligibilityStatus_
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, 1
je 0x6406849f
test eax, eax
je 0x6406849f
mov ecx, dword [edx]
mov dword [esp + 0xc], bind
push 1
mov eax, dword [ecx + 8]
add ecx, 0x10
lea esi, [ecx + eax*4]
mov ecx, edx
lea eax, [esp + 0x10]
mov dword [esp + 0x40], esi
push eax
call dword [0x640b0cc4]
mov edx, dword [esp + 0x20]
mov edi, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
add eax, 4
mov edx, dword [edx]
mov ecx, dword [edx + 8]
lea esi, [edx + 0x10]
add eax, ecx
lea esi, [esi + ecx*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x640683e4
nop dword [eax + eax]
push edi
mov ecx, esi
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::constructor_class_QNetworkAddressEntry_const__
add esi, 4
add edi, 4
cmp esi, dword [esp + 0x38]
jne 0x640683d0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0xc]
lea edi, [eax + esi*4]
mov eax, dword [esp + 0x20]
add esi, 5
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
add esi, dword [ecx + 8]
add edx, 4
lea edx, [ecx + edx*4]
lea esi, [ecx + esi*4]
mov dword [esp + 0x3c], edx
cmp esi, edx
je 0x64068424
nop
push edi
mov ecx, esi
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::constructor_class_QNetworkAddressEntry_const__
add esi, 4
add edi, 4
cmp esi, dword [esp + 0x3c]
jne 0x64068410
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x64068441
cmp eax, 0xffffffff
je 0x6406847c
or eax, 0xffffffff
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x6406847c
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
add edi, 4
add esi, 4
lea edi, [ecx + edi*4]
lea esi, [ecx + esi*4]
cmp esi, edi
je 0x64068472
nop word [eax + eax]
sub esi, 4
mov ecx, esi
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::destructor_void_
cmp esi, edi
jne 0x64068460
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x640b0cc0]
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ecx + 8]
add eax, dword [esp + 0x10]
lea ecx, [ecx + eax*4]
add ecx, 0x10
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::constructor_class_QNetworkAddressEntry_const__
mov edi, dword [esp + 0x28]
jmp 0x640684bf
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::constructor_class_QNetworkAddressEntry_const__
mov ecx, dword [esp + 0x20]
call dword [0x640b0cbc]
mov ecx, eax
mov eax, dword [esp + 0x54]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call sym.Qt5Network.dll_public:_void___thiscall_QNetworkAddressEntry::destructor_void_
mov edi, dword [edi + 8]
mov dword [esp + 0x28], edi
test edi, edi
jne 0x64068193
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x64067e60
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0xa8]
cmp eax, ecx
je 0x64068503
push eax
call dword [0x640b0ec4]
add esp, 4
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 8]
mov dword [esi], eax
mov eax, dword [0x640b0258]
mov dword [esp + 8], eax
mov eax, dword [eax]
test eax, eax
je 0x64068533
cmp eax, 0xffffffff
je 0x64068540
mov eax, dword [esp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x64068540
push dword [esp + 8]
call dword [0x640b0cc0]
add esp, 4
mov ecx, dword [esp + 0x7ac]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.640ae828
mov esp, ebp
pop ebp
ret