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

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x180141758]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
lea rbx, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov r14, rcx
mov qword [rbp - 0x48], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x78], rbx
lea r9, [rbp + 0x20]
mov dword [rsp + 0x48], 0x380
lea edx, [r8 + 0x1c]
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x18008cb2d
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x78], rax
mov rbx, rax
test rax, rax
je 0x18008cb31
xor r8d, r8d
lea rax, [rsp + 0x48]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x1c]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x18008cb7d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18008cb31
test eax, eax
je 0x18008cb7d
mov rax, qword [rsp + 0x30]
mov qword [r14], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x30], rax
mov ecx, dword [rax]
test ecx, ecx
je 0x18008cb6d
cmp ecx, 0xffffffff
je 0x18008d2fa
mov rax, qword [rsp + 0x30]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
lea eax, [rcx - 1]
test eax, eax
jne 0x18008d2fa
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
jmp 0x18008d2fa
mov qword [rsp + 0x918], rsi
mov rsi, rbx
mov qword [rsp + 0x920], rdi
mov edi, 0xffffffff
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x18008d29e
mov qword [rsp + 0x928], r12
xor r14d, r14d
mov qword [rsp + 0x8e8], r13
mov qword [rsp + 0x8e0], r15
movaps xmmword [rsp + 0x8d0], xmm6
mov ecx, 0x38
call fcn.1800e5cbc
mov rcx, rax
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QSharedData::constructor_void____ptr64]
mov qword [rbx + 4], 0
lea rcx, [rbx + 0x18]
mov qword [rbx + 0xc], 0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
lea rcx, [rbx + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
lea rcx, [rbx + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
lea rax, [rbx + 0x30]
mov qword [rbp - 0x58], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbx + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
cmp ecx, 1
lea rcx, [rsp + 0x30]
seta al
test al, al
je 0x18008cd42
mov dword [rsp + 0x38], 0x7fffffff
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov r8d, 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r14, rax
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
lea rcx, [rsp + 0x30]
mov rsi, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rcx, rax
movsxd rax, dword [rsp + 0x38]
lea rdi, [rcx + rax*8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
cmp r14, rax
je 0x18008cca7
sub rdi, rax
sar rdi, 3
test rdi, rdi
jle 0x18008cca7
lea r8, [rdi*8]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rsp + 0x38]
lea rcx, [rsp + 0x30]
lea r14, [r14 + rax*8]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
lea rcx, [rsp + 0x30]
mov rdi, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rcx, rax
movsxd rax, dword [rsp + 0x38]
lea rcx, [rcx + rax*8]
add rcx, 8
cmp r14, rcx
je 0x18008ccfa
sub rdi, rcx
sar rdi, 3
test rdi, rdi
jle 0x18008ccfa
lea r8, [rdi*8]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi]
test eax, eax
je 0x18008cd13
cmp eax, 0xffffffff
je 0x18008cd1c
mov eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18008cd1c
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rsi, qword [rsp + 0x70]
mov edi, 0xffffffff
mov rcx, rax
xor r14d, r14d
movsxd rax, dword [rsp + 0x38]
mov qword [rcx + rax*8], rbx
jmp 0x18008cd4b
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov qword [rax], rbx
mov dword [rbx + 4], r14d
mov eax, dword [rsi + 0x6c]
test eax, eax
jne 0x18008cd61
mov ecx, dword [rsi + 4]
mov eax, r14d
test ecx, ecx
cmovne eax, ecx
mov dword [rbx + 4], eax
mov eax, 0x7fffffff
cmp dword [rsi + 0x60], eax
cmovb eax, dword [rsi + 0x60]
mov dword [rbx + 8], eax
mov eax, 4
mov dword [rbx + 0xc], 4
cmp dword [rsi + 0x68], 1
jne 0x18008cd91
mov dword [rbx + 0xc], 7
mov eax, 7
test byte [rsi + 0x5c], 0x10
jne 0x18008cd9d
or eax, 0x20
mov dword [rbx + 0xc], eax
mov ecx, dword [rsi + 0x64]
cmp ecx, 0x17
jne 0x18008cdae
or eax, 0x10
mov dword [rbx + 0xc], eax
mov ecx, dword [rsi + 0x64]
add ecx, 0xfffffffa
cmp ecx, 0xfd
ja case.0x18008cdd2.7
lea rdx, [0x180000000]
movzx eax, byte [rdx + rcx + 0x8d340]
mov ecx, dword [rdx + rax*4 + 0x8d318]
add rcx, rdx
jmp rcx
mov dword [rbx + 0x10], 3
jmp case.0x18008cdd2.7
mov dword [rbx + 0x10], 7
jmp case.0x18008cdd2.7
mov dword [rbx + 0x10], 6
jmp case.0x18008cdd2.7
mov dword [rbx + 0x10], 4
jmp case.0x18008cdd2.7
mov dword [rbx + 0x10], 1
or dword [rbx + 0xc], 8
jmp case.0x18008cdd2.7
mov dword [rbx + 0x10], 8
jmp case.0x18008cdd2.7
mov dword [rbx + 0x10], reloc.WS2_32.dll_listen
jmp case.0x18008cdd2.7
mov dword [rbx + 0x10], select
jmp case.0x18008cdd2.7
mov dword [rbx + 0x10], 0xa
lea rcx, [rsi + 0xe0]
mov r8d, 0x101
lea rdx, [rbp + 0x3a0]
call qword [sym.imp.IPHLPAPI.DLL_ConvertInterfaceLuidToNameW]
test eax, eax
jne 0x18008ce70
mov r8d, edi
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
mov rdx, rax
lea rcx, [rbx + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbx + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::isEmpty_void_const___ptr64]
test al, al
je 0x18008cea6
mov rdx, qword [rsi + 0x10]
lea rcx, [rbp - 0x78]
mov r8d, edi
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const____ptr64__int_]
mov rdx, rax
lea rcx, [rbx + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdx, qword [rsi + 0x48]
lea rcx, [rbp - 0x70]
mov r8d, edi
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
mov rdx, rax
lea rcx, [rbx + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edx, dword [rsi + 0x58]
test edx, edx
je 0x18008cef9
lea r8, [rsi + 0x50]
lea rcx, [rbp - 0x68]
call fcn.180084da0
mov rdx, rax
lea rcx, [rbx + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r15, qword [rsi + 0x18]
test r15, r15
je 0x18008d263
nop word [rax + rax]
cmp dword [r15 + 0x28], 0
je 0x18008d24e
lea rcx, [rsp + 0x58]
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::constructor_void____ptr64
mov rbx, qword [r15 + 0x10]
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::constructor_void____ptr64
test rbx, rbx
je 0x18008d019
movzx eax, word [rbx]
cmp ax, 2
jne 0x18008cf5f
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_htonl]
mov edx, eax
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::setAddress_unsigned_int____ptr64
jmp 0x18008d019
cmp ax, 0x17
jne 0x18008cff3
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::setAddress_class_QIPv6Address_const____ptr64____ptr64
mov ebx, dword [rbx + 0x18]
test ebx, ebx
je 0x18008d019
lea rdx, [rbp - 0x60]
mov ecx, ebx
call qword [sym.imp.IPHLPAPI.DLL_ConvertInterfaceIndexToLuid]
test eax, eax
jne 0x18008cfc4
mov r8d, 0x101
lea rdx, [rbp + 0x5b0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.IPHLPAPI.DLL_ConvertInterfaceLuidToNameW]
test eax, eax
jne 0x18008cfc4
mov r8d, edi
lea rdx, [rbp + 0x5b0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
jmp 0x18008cfd7
mov r8d, 0xa
lea rcx, [rsp + 0x60]
mov edx, ebx
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_unsigned_int__int_]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::setScopeId_class_QString_const____ptr64____ptr64
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x18008d019
xor r9d, r9d
lea rcx, [rbp]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
movzx r8d, word [rbx]
lea rdx, str.Got_unknown_socket_family__d
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call sym.Qt5Network.dll_public:_void___cdecl_QDnsDomainNameRecord::constructor_class_QDnsDomainNameRecord_const____ptr64____ptr64
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::setIp_class_QHostAddress_const____ptr64____ptr64
lea rcx, [rsp + 0x68]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
movzx edx, byte [r15 + 0x38]
lea rcx, [rsp + 0x58]
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::setPrefixLength_int____ptr64
mov eax, dword [r15 + 0x30]
lea rcx, [rbp - 0x40]
mov r8d, 1
cmp eax, 0xffffffff
jne 0x18008d077
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDeadlineTimer::constructor_enum_QDeadlineTimer::ForeverConstant__enum_Qt::TimerType____ptr64]
jmp 0x18008d083
imul edx, eax, 0x3e8
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDeadlineTimer::constructor_long_long___int64___enum_Qt::TimerType____ptr64]
mov eax, dword [r15 + 0x2c]
lea rcx, [rbp - 0x30]
mov r8d, 1
movups xmm6, xmmword [rbp - 0x40]
cmp eax, 0xffffffff
jne 0x18008d0a4
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDeadlineTimer::constructor_enum_QDeadlineTimer::ForeverConstant__enum_Qt::TimerType____ptr64]
jmp 0x18008d0b0
imul edx, eax, 0x3e8
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDeadlineTimer::constructor_long_long___int64___enum_Qt::TimerType____ptr64]
movaps xmm0, xmmword [rbp - 0x30]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rsp + 0x58]
movaps xmmword [rbp - 0x20], xmm6
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::setAddressLifetime_class_QDeadlineTimer__class_QDeadlineTimer____ptr64
movzx edx, byte [r15 + 4]
lea rcx, [rsp + 0x58]
and dl, 1
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::setDnsEligibility_enum_QNetworkAddressEntry::DnsEligibilityStatus____ptr64
mov r13, qword [rbp - 0x58]
mov rax, qword [r13]
mov ecx, dword [rax]
cmp ecx, 1
seta al
test al, al
je 0x18008d223
mov rcx, r13
mov dword [rsp + 0x40], 0x7fffffff
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, r13
mov r12, rax
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov rcx, r13
mov rsi, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rcx, rax
movsxd rax, dword [rsp + 0x40]
lea r14, [rcx + rax*8]
mov rcx, r13
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rbx, rax
cmp rax, r14
je 0x18008d165
mov rdi, r12
sub rdi, rax
lea rdx, [rdi + rbx]
mov rcx, rbx
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::constructor_class_QNetworkAddressEntry_const____ptr64____ptr64
add rbx, 8
cmp rbx, r14
jne 0x18008d150
movsxd rax, dword [rsp + 0x40]
mov rcx, r13
lea rdi, [r12 + rax*8]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov rcx, r13
mov r14, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
movsxd rbx, dword [rsp + 0x40]
inc rbx
lea rbx, [rax + rbx*8]
cmp rbx, r14
je 0x18008d1ac
mov rdx, rdi
mov rcx, rbx
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::constructor_class_QNetworkAddressEntry_const____ptr64____ptr64
add rbx, 8
add rdi, 8
cmp rbx, r14
jne 0x18008d194
mov eax, dword [rsi]
test eax, eax
je 0x18008d1c6
mov edi, 0xffffffff
cmp eax, edi
je 0x18008d202
mov eax, edi
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18008d202
movsxd rdi, dword [rsi + 8]
movsxd rbx, dword [rsi + 0xc]
add rdi, 2
add rbx, 2
lea rdi, [rsi + rdi*8]
lea rbx, [rsi + rbx*8]
cmp rbx, rdi
je 0x18008d1f4
sub rbx, 8
mov rcx, rbx
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::destructor_void____ptr64
cmp rbx, rdi
jne 0x18008d1e3
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov edi, 0xffffffff
mov rcx, r13
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rcx, rax
lea rdx, [rsp + 0x58]
movsxd rax, dword [rsp + 0x40]
lea rcx, [rcx + rax*8]
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::constructor_class_QNetworkAddressEntry_const____ptr64____ptr64
jmp 0x18008d244
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::constructor_class_QNetworkAddressEntry_const____ptr64____ptr64
mov rcx, r13
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, rax
mov rax, qword [rbp - 0x50]
mov qword [rcx], rax
lea rcx, [rsp + 0x58]
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::destructor_void____ptr64
mov r15, qword [r15 + 8]
test r15, r15
jne 0x18008cf10
mov rsi, qword [rsp + 0x70]
xor r14d, r14d
mov rsi, qword [rsi + 8]
mov qword [rsp + 0x70], rsi
test rsi, rsi
jne 0x18008cbc6
mov rbx, qword [rsp + 0x78]
mov r14, qword [rbp - 0x48]
movaps xmm6, xmmword [rsp + 0x8d0]
mov r15, qword [rsp + 0x8e0]
mov r13, qword [rsp + 0x8e8]
mov r12, qword [rsp + 0x928]
mov rsi, qword [rsp + 0x918]
lea rax, [rbp + 0x20]
cmp rbx, rax
je 0x18008d2b8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x30]
mov qword [r14], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x30], rax
mov ecx, dword [rax]
test ecx, ecx
je 0x18008d2e7
cmp ecx, 0xffffffff
je 0x18008d2f2
mov rcx, qword [rsp + 0x30]
lock xadd dword [rcx], edi
lea ecx, [rdi - 1]
test ecx, ecx
jne 0x18008d2f2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rdi, qword [rsp + 0x920]
mov rax, r14
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.1800e64c0
add rsp, 0x8f0
pop r14
pop rbx
pop rbp
ret