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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [rcx + 0xa4], 2
mov rbx, rdx
mov rsi, qword [rcx]
mov rdi, rcx
je 0x1400bc70a
cmp byte [rcx + 0x3ba], 0
jne 0x1400bc65a
cmp byte [rcx + 0x3d4], 0
jne 0x1400bc65a
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 0x1400bc512
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.1400aa5a0
mov r9, rax
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1400bac60
jmp 0x1400bc70a
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
mov rcx, rbx
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 0x1400bc591
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.1400aa5a0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1400bac60
jmp 0x1400bc70a
lea rbx, [rdi + 0x114]
mov rdx, rbx
lea r8, [rdi + 0x144]
lea rcx, [rsp + 0xb0]
call fcn.1400bcc80
test al, al
jne 0x1400bc5df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.1400aa5a0
mov r9, rax
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1400bac60
jmp 0x1400bc70a
movups xmm0, xmmword [rbx]
mov eax, dword [rbx + 0x28]
lea r8, [rdi + 0x178]
movups xmm1, xmmword [rbx + 0x10]
lea rdx, [rdi + 0x148]
movups xmmword [rdi + 0x70], xmm0
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rbx + 0x20]
movups xmmword [rdi + 0x80], xmm1
movsd qword [rdi + 0x90], xmm0
mov dword [rdi + 0x98], eax
movzx eax, word [rbx + 0x2c]
mov word [rdi + 0x9c], ax
call fcn.1400bcc80
test al, al
jne 0x1400bc65a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.1400aa5a0
mov r9, rax
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1400bac60
jmp 0x1400bc70a
mov rcx, qword [rdi]
movups xmm0, xmmword [rdi + 0x114]
movups xmmword [rcx + 0x8ad0], xmm0
movups xmm1, xmmword [rdi + 0x124]
movups xmmword [rcx + 0x8ae0], xmm1
movsd xmm0, qword [rdi + 0x134]
movsd qword [rcx + 0x8af0], xmm0
mov eax, dword [rdi + 0x13c]
mov dword [rcx + 0x8af8], eax
movzx eax, word [rdi + 0x140]
mov word [rcx + 0x8afc], ax
mov rcx, qword [rdi]
movups xmm0, xmmword [rdi + 0x148]
movups xmmword [rcx + 0x8b04], xmm0
movups xmm1, xmmword [rdi + 0x158]
movups xmmword [rcx + 0x8b14], xmm1
movsd xmm0, qword [rdi + 0x168]
movsd qword [rcx + 0x8b24], xmm0
mov eax, dword [rdi + 0x170]
mov dword [rcx + 0x8b2c], eax
movzx eax, word [rdi + 0x174]
mov word [rcx + 0x8b30], ax
mov rcx, qword [rdi]
mov eax, dword [rdi + 0x144]
mov dword [rcx + 0x8b00], eax
mov rcx, qword [rdi]
mov eax, dword [rdi + 0x178]
mov dword [rcx + 0x8b34], eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret