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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18012e760]
xor rax, rsp
mov qword [rbp - 8], rax
lea rsi, [rcx + 0x90]
mov rbx, rcx
xor edi, edi
mov word [rcx + 0x98], di
mov rcx, rsi
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::clear_void____ptr64
lea rcx, [rbx + 0xa0]
mov word [rbx + 0xa8], di
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::clear_void____ptr64
mov rcx, qword [rbx + 0xc0]
mov qword [rbx + 0xac], rdi
cmp rcx, 0xffffffffffffffff
jne 0x18009f990
xor al, al
jmp 0x18009fb8c
xor eax, eax
mov qword [rsp + 0xa8], r13
lea r8, [rbp - 0x38]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], eax
mov dword [rbp - 0x38], 0x1c
call qword [sym.imp.WS2_32.dll_getsockname]
or r13d, 0xffffffff
test eax, eax
jne 0x18009fb00
mov rcx, qword [rbx + 0xc0]
lea r8, [rbx + 0x98]
mov r9, rsi
lea rdx, [rbp - 0x28]
call fcn.1800a1a60
movzx ecx, word [rbp - 0x28]
cmp ecx, 2
je 0x18009faf5
cmp ecx, 0x17
mov eax, 1
cmovne eax, r13d
mov dword [rbx + 0x88], eax
mov edx, 5
mov dword [rbp - 0x3c], edi
mov rcx, rsi
mov dword [rbp - 0x30], 4
call sym.Qt5Network.dll_public:_bool___cdecl_QHostAddress::operator_enum_QHostAddress::SpecialAddress_const___ptr64
test al, al
je 0x18009fa5f
mov rcx, qword [rbx + 0xc0]
lea rax, [rbp - 0x30]
mov edx, 0x29
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x3c]
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x18009fa5f
cmp dword [rbp - 0x3c], edi
jne 0x18009fa5f
lea edx, [rax + 4]
mov dword [rbx + 0x88], 2
mov rcx, rsi
call sym.Qt5Network.dll_public:_class_QHostAddress____ptr64___cdecl_QHostAddress::operator_enum_QHostAddress::SpecialAddress____ptr64
cmp dword [rbx + 0x88], 1
jne 0x18009fa97
lea rdx, [rbp - 0x40]
mov byte [rbp - 0x40], dil
mov rcx, rsi
call sym.Qt5Network.dll_public:_unsigned_int___cdecl_QHostAddress::toIPv4Address_bool____ptr64_const___ptr64
cmp byte [rbp - 0x40], dil
je 0x18009fa97
test eax, eax
jne 0x18009fa97
lea edx, [rax + 4]
mov dword [rbx + 0x88], 2
mov rcx, rsi
call sym.Qt5Network.dll_public:_class_QHostAddress____ptr64___cdecl_QHostAddress::operator_enum_QHostAddress::SpecialAddress____ptr64
mov rcx, qword [rbx + 0xc0]
lea r8, [rbp - 0x38]
xor eax, eax
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], eax
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x18009fb26
mov rcx, qword [rbx + 0xc0]
lea r9, [rbx + 0xa0]
lea r8, [rbx + 0xa8]
lea rdx, [rbp - 0x28]
call fcn.1800a1a60
mov dword [rbx + 0xb0], 1
mov dword [rbx + 0xac], 1
jmp 0x18009fb2c
mov dword [rbx + 0x88], edi
jmp 0x18009fa03
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2736
jne 0x18009fa03
mov edx, 0xa
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.18009e750
xor al, al
jmp 0x18009fb84
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx + 0xc0]
lea rax, [rbp - 0x2c]
lea r9, [rbp - 0x34]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rbp - 0x34], edi
mov r8d, 0x1008
mov dword [rbp - 0x2c], 4
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x18009fb67
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x18009fb79
mov eax, dword [rbp - 0x34]
cmp eax, 1
je 0x18009fb7c
mov edi, 1
cmp eax, 2
je 0x18009fb7c
mov edi, r13d
mov dword [rbx + 0x84], edi
mov al, 1
mov r13, qword [rsp + 0xa8]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800d83b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret