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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp dword [rcx + 0x32c], 3
mov rdi, rdx
mov rbx, rcx
jne 0x1401f0a95
cmp byte [rcx + 0x64d], 0
mov qword [rsp + 0x260], rsi
jne 0x1401f09b6
cmp byte [rcx + 0x667], 0
jne 0x1401f09b6
mov rsi, qword [rcx]
lea r8, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1401f0830
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x130]
mov ecx, eax
mov ebx, eax
call fcn.140215a70
mov r9, rax
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1401eefc0
jmp 0x1401f0a8d
xorps xmm0, xmm0
mov dword [rsp + 0x24], 0x80
lea r8, [rsp + 0x24]
mov rcx, rdi
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1401f08ba
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x130]
mov ecx, eax
mov ebx, eax
call fcn.140215a70
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1401eefc0
jmp 0x1401f0a8d
mov edx, dword [rsp + 0x20]
lea rdi, [rbx + 0x3fe]
mov r8, rdi
lea r9, [rbx + 0x42c]
lea rcx, [rsp + 0xb0]
call fcn.1401efb70
test al, al
jne 0x1401f0920
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 r8d, 0x100
lea rdx, [rsp + 0x130]
mov ecx, ebx
mov rdi, rax
call fcn.140215a70
mov r8d, dword [rdi]
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1401eefc0
jmp 0x1401f0a8d
movups xmm0, xmmword [rdi]
mov eax, dword [rdi + 0x28]
lea r9, [rbx + 0x460]
movups xmm1, xmmword [rdi + 0x10]
mov edx, dword [rsp + 0x24]
lea r8, [rbx + 0x430]
movups xmmword [rbx + 0x2f8], xmm0
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rdi + 0x20]
movups xmmword [rbx + 0x308], xmm1
movsd qword [rbx + 0x318], xmm0
mov dword [rbx + 0x320], eax
movzx eax, word [rdi + 0x2c]
mov word [rbx + 0x324], ax
call fcn.1401efb70
test al, al
jne 0x1401f09b6
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 r8d, 0x100
lea rdx, [rsp + 0x130]
mov ecx, ebx
mov rdi, rax
call fcn.140215a70
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1401eefc0
jmp 0x1401f0a8d
mov rcx, qword [rbx]
movups xmm0, xmmword [rbx + 0x3fe]
movups xmmword [rcx + 0x1648], xmm0
movups xmm1, xmmword [rbx + 0x40e]
movups xmmword [rcx + 0x1658], xmm1
movsd xmm0, qword [rbx + 0x41e]
movsd qword [rcx + 0x1668], xmm0
mov eax, dword [rbx + 0x426]
mov dword [rcx + 0x1670], eax
movzx eax, word [rbx + 0x42a]
mov word [rcx + 0x1674], ax
mov rcx, qword [rbx]
movups xmm0, xmmword [rbx + 0x430]
movups xmmword [rcx + 0x167c], xmm0
movups xmm1, xmmword [rbx + 0x440]
movups xmmword [rcx + 0x168c], xmm1
movsd xmm0, qword [rbx + 0x450]
movsd qword [rcx + 0x169c], xmm0
mov eax, dword [rbx + 0x458]
mov dword [rcx + 0x16a4], eax
movzx eax, word [rbx + 0x45c]
mov word [rcx + 0x16a8], ax
mov rax, qword [rbx + 0x690]
mov rcx, qword [rbx]
mov rax, qword [rax]
mov qword [rcx + 0x16b0], rax
mov rax, qword [rbx + 0x690]
mov rcx, qword [rbx]
mov eax, dword [rax + 0x7c]
mov dword [rcx + 0x16b8], eax
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x42c]
mov dword [rcx + 0x1678], eax
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x460]
mov dword [rcx + 0x16ac], eax
mov rsi, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140087600
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop rdi
ret