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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rdi
sub rsp, 0x1a0
cmp dword [rcx + 0xbc], 3
mov rdi, rdx
mov rbx, rcx
jne 0x14002bd83
cmp byte [rcx + 0x3ed], 0
mov qword [rax + 0x10], rsi
jne 0x14002bca4
cmp byte [rcx + 0x408], 0
jne 0x14002bca4
mov rsi, qword [rcx]
lea r8, [rax + 8]
mov rcx, rdi
mov dword [rax + 8], 0x80
lea rdx, [rax - 0x88]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x14002bb19
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0xa0]
mov ecx, eax
mov ebx, eax
call fcn.14005a910
mov r9, rax
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.14002a560
jmp 0x14002bd7b
xorps xmm0, xmm0
mov dword [rsp + 0x1c0], 0x80
lea r8, [rsp + 0x1c0]
mov rcx, rdi
lea rdx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
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
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14002bba6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0xa0]
mov ecx, eax
mov ebx, eax
call fcn.14005a910
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.14002a560
jmp 0x14002bd7b
mov edx, dword [rsp + 0x1b0]
lea rdi, [rbx + 0x18e]
mov r8, rdi
lea r9, [rbx + 0x1bc]
lea rcx, [rsp + 0x120]
call fcn.14002b930
test al, al
jne 0x14002bc0d
call fcn.140018ed0
mov ebx, dword [rax]
call fcn.140018ed0
mov r8d, 0x80
lea rdx, [rsp + 0xa0]
mov ecx, ebx
mov rdi, rax
call fcn.14005a910
mov r8d, dword [rdi]
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14002a560
jmp 0x14002bd7b
movups xmm0, xmmword [rdi]
mov eax, dword [rdi + 0x28]
lea r9, [rbx + 0x1f0]
movups xmm1, xmmword [rdi + 0x10]
mov edx, dword [rsp + 0x1c0]
lea r8, [rbx + 0x1c0]
movups xmmword [rbx + 0x88], xmm0
lea rcx, [rsp + 0x20]
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.14002b930
test al, al
jne 0x14002bca4
call fcn.140018ed0
mov ebx, dword [rax]
call fcn.140018ed0
mov r8d, 0x80
lea rdx, [rsp + 0xa0]
mov ecx, ebx
mov rdi, rax
call fcn.14005a910
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14002a560
jmp 0x14002bd7b
mov rcx, qword [rbx]
movups xmm0, xmmword [rbx + 0x18e]
movups xmmword [rcx + 0x15d8], xmm0
movups xmm1, xmmword [rbx + 0x19e]
movups xmmword [rcx + 0x15e8], xmm1
movsd xmm0, qword [rbx + 0x1ae]
movsd qword [rcx + 0x15f8], xmm0
mov eax, dword [rbx + 0x1b6]
mov dword [rcx + 0x1600], eax
movzx eax, word [rbx + 0x1ba]
mov word [rcx + 0x1604], ax
mov rcx, qword [rbx]
movups xmm0, xmmword [rbx + 0x1c0]
movups xmmword [rcx + 0x160c], xmm0
movups xmm1, xmmword [rbx + 0x1d0]
movups xmmword [rcx + 0x161c], xmm1
movsd xmm0, qword [rbx + 0x1e0]
movsd qword [rcx + 0x162c], xmm0
mov eax, dword [rbx + 0x1e8]
mov dword [rcx + 0x1634], eax
movzx eax, word [rbx + 0x1ec]
mov word [rcx + 0x1638], ax
mov rax, qword [rbx + 0x430]
mov rcx, qword [rbx]
mov rax, qword [rax]
mov qword [rcx + 0x1640], rax
mov rax, qword [rbx + 0x430]
mov rcx, qword [rbx]
mov eax, dword [rax + 0x7c]
mov dword [rcx + 0x1648], eax
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x1bc]
mov dword [rcx + 0x1608], eax
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x1f0]
mov dword [rcx + 0x163c], eax
mov rsi, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x1a0
pop rdi
ret