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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x1801be118]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
cmp dword [rcx + 0xbc], 2
mov rdi, rdx
mov rsi, qword [rcx]
mov rbx, rcx
je 0x180100a62
test dword [rcx + 0x3c4], 0x8000002
jne 0x18010098b
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x180100833
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0x130]
mov ecx, eax
mov ebx, eax
call fcn.180126160
mov r9, rax
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1800fefc0
jmp 0x180100a62
xor edx, edx
mov dword [rsp + 0x20], 0x80
mov r8d, 0x80
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x20]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x18010089b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0x130]
mov ecx, eax
mov ebx, eax
call fcn.180126160
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1800fefc0
jmp 0x180100a62
lea rdi, [rbx + 0x18e]
mov rdx, rdi
lea r8, [rbx + 0x1bc]
lea rcx, [rsp + 0xb0]
call fcn.180100f80
test al, al
jne 0x1801008fb
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ebx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov r8d, 0x80
lea rdx, [rsp + 0x130]
mov ecx, ebx
mov rdi, rax
call fcn.180126160
mov r8d, dword [rdi]
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1800fefc0
jmp 0x180100a62
movups xmm0, xmmword [rdi]
mov eax, dword [rdi + 0x28]
lea r8, [rbx + 0x1f0]
movups xmm1, xmmword [rdi + 0x10]
lea rdx, [rbx + 0x1c0]
movups xmmword [rbx + 0x88], xmm0
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rdi + 0x20]
movups xmmword [rbx + 0x98], xmm1
movsd qword [rbx + 0xa8], xmm0
mov dword [rbx + 0xb0], eax
movzx eax, word [rdi + 0x2c]
mov word [rbx + 0xb4], ax
call fcn.180100f80
test al, al
jne 0x18010098b
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ebx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov r8d, 0x80
lea rdx, [rsp + 0x130]
mov ecx, ebx
mov rdi, rax
call fcn.180126160
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1800fefc0
jmp 0x180100a62
mov rcx, qword [rbx]
movups xmm0, xmmword [rbx + 0x18e]
movups xmmword [rcx + 0x1538], xmm0
movups xmm1, xmmword [rbx + 0x19e]
movups xmmword [rcx + 0x1548], xmm1
movsd xmm0, qword [rbx + 0x1ae]
movsd qword [rcx + 0x1558], xmm0
mov eax, dword [rbx + 0x1b6]
mov dword [rcx + 0x1560], eax
movzx eax, word [rbx + 0x1ba]
mov word [rcx + 0x1564], ax
mov rcx, qword [rbx]
movups xmm0, xmmword [rbx + 0x1c0]
movups xmmword [rcx + 0x156c], xmm0
movups xmm1, xmmword [rbx + 0x1d0]
movups xmmword [rcx + 0x157c], xmm1
movsd xmm0, qword [rbx + 0x1e0]
movsd qword [rcx + 0x158c], xmm0
mov eax, dword [rbx + 0x1e8]
mov dword [rcx + 0x1594], eax
movzx eax, word [rbx + 0x1ec]
mov word [rcx + 0x1598], ax
mov rax, qword [rbx + 0x3e8]
mov rcx, qword [rbx]
mov rax, qword [rax]
mov qword [rcx + 0x15a0], rax
mov rax, qword [rbx + 0x3e8]
mov rcx, qword [rbx]
mov eax, dword [rax + 0x7c]
mov dword [rcx + 0x15a8], eax
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x1bc]
mov dword [rcx + 0x1568], eax
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x1f0]
mov dword [rcx + 0x159c], eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.180132140
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret