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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x140
mov rax, qword [0x140083010]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [rcx + 0xbc], 2
mov rbx, rdx
mov rbp, qword [rcx]
mov rsi, rcx
je 0x14002b06d
cmp byte [rcx + 0x3a2], 0
mov qword [rsp + 0x170], rdi
jne 0x14002af8e
cmp byte [rcx + 0x3be], 0
jne 0x14002af8e
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x14002ae53
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.14003bfa0
mov r9, rax
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rbp
call fcn.1400296c0
jmp 0x14002b065
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, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14002aeb0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.14003bfa0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rbp
call fcn.1400296c0
jmp 0x14002b065
lea rbx, [rsi + 0x186]
mov rdx, rbx
lea r8, [rsi + 0x1b4]
lea rcx, [rsp + 0xb0]
call fcn.14002b590
test al, al
jne 0x14002af07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov edx, ebx
mov rcx, rsi
mov rdi, rax
call fcn.14003bfa0
mov r8d, dword [rdi]
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rbp
call fcn.1400296c0
jmp 0x14002b065
movups xmm0, xmmword [rbx]
mov eax, dword [rbx + 0x28]
lea r8, [rsi + 0x1e8]
movups xmm1, xmmword [rbx + 0x10]
lea rdx, [rsi + 0x1b8]
movups xmmword [rsi + 0x88], xmm0
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rbx + 0x20]
movups xmmword [rsi + 0x98], xmm1
movsd qword [rsi + 0xa8], xmm0
mov dword [rsi + 0xb0], eax
movzx eax, word [rbx + 0x2c]
mov word [rsi + 0xb4], ax
call fcn.14002b590
test al, al
jne 0x14002af8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov edx, ebx
mov rcx, rsi
mov rdi, rax
call fcn.14003bfa0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rbp
call fcn.1400296c0
jmp 0x14002b065
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 0x186]
movups xmmword [rcx + 0x5140], xmm0
movups xmm1, xmmword [rsi + 0x196]
movups xmmword [rcx + 0x5150], xmm1
movsd xmm0, qword [rsi + 0x1a6]
movsd qword [rcx + 0x5160], xmm0
mov eax, dword [rsi + 0x1ae]
mov dword [rcx + 0x5168], eax
movzx eax, word [rsi + 0x1b2]
mov word [rcx + 0x516c], ax
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 0x1b8]
movups xmmword [rcx + 0x5174], xmm0
movups xmm1, xmmword [rsi + 0x1c8]
movups xmmword [rcx + 0x5184], xmm1
movsd xmm0, qword [rsi + 0x1d8]
movsd qword [rcx + 0x5194], xmm0
mov eax, dword [rsi + 0x1e0]
mov dword [rcx + 0x519c], eax
movzx eax, word [rsi + 0x1e4]
mov word [rcx + 0x51a0], ax
mov rax, qword [rsi + 0x3e8]
mov rcx, qword [rsi]
mov rax, qword [rax]
mov qword [rcx + 0x51a8], rax
mov rax, qword [rsi + 0x3e8]
mov rcx, qword [rsi]
mov eax, dword [rax + 0x7c]
mov dword [rcx + 0x51b0], eax
mov rcx, qword [rsi]
mov eax, dword [rsi + 0x1b4]
mov dword [rcx + 0x5170], eax
mov rcx, qword [rsi]
mov eax, dword [rsi + 0x1e8]
mov dword [rcx + 0x51a4], eax
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140014a10
add rsp, 0x140
pop rsi
pop rbp
pop rbx
ret