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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd0], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
push 0x18
pop rcx
push 8
pop rdx
call fcn.140031ef5
push 1
pop rcx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0
mov word [rbp - 8], 1
and qword [rbp - 0x20], 0
mov qword [rbp - 0x10], rax
mov rcx, rdi
call fcn.1400d543e
mov rcx, qword [rax]
xorps xmm0, xmm0
mov rdx, rbp
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rbp + 0x90]
mov dword [r8], 0x80
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x140076c1a
mov eax, dword [rbp + 0x90]
movzx ecx, word [rbp]
cmp ecx, 0x17
je 0x140076c3b
cmp ecx, 2
jne 0x140076c77
cmp eax, 0xf
jbe 0x140076f2d
mov eax, dword [rbp + 4]
movzx ecx, word [rbp + 2]
rol cx, 8
movzx r12d, cx
shl r12, 0x20
or r12, rax
mov dword [rbp + 0xb8], 0
jmp 0x140076c8f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xc0], rax
mov ax, 2
mov dword [rbp + 0xb8], eax
jmp 0x140076c8f
cmp eax, 0x1b
jbe 0x140076f45
movzx ebx, word [rbp + 2]
rol bx, 8
mov r15d, dword [rbp + 4]
mov r14d, dword [rbp + 0x18]
mov r12d, dword [rbp + 8]
shl r12, 0x10
mov rax, qword [rbp + 0xc]
mov qword [rbp + 0xc0], rax
mov ax, 1
mov dword [rbp + 0xb8], eax
mov r13d, dword [rbp + 0x14]
jmp 0x140076c8f
mov ax, 2
mov dword [rbp + 0xb8], eax
lea rax, [0x140ab0a58]
mov qword [rbp + 0xc0], rax
mov rcx, rdi
call fcn.1400d543e
mov rcx, qword [rax]
xorps xmm0, xmm0
mov rdx, rbp
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rbp + 0x90]
mov dword [r8], 0x80
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140076d0f
mov eax, dword [rbp + 0x90]
movzx ecx, word [rbp]
cmp ecx, 0x17
je 0x140076d23
cmp ecx, 2
jne 0x140076d52
cmp eax, 0xf
jbe 0x140076f5d
mov eax, dword [rbp + 4]
movzx ecx, word [rbp + 2]
rol cx, 8
movzx r10d, cx
shl r10, 0x20
or r10, rax
xor ecx, ecx
jmp 0x140076d5d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov cx, 2
jmp 0x140076d5d
cmp eax, 0x1b
jbe 0x140076f75
movzx edx, word [rbp + 2]
rol dx, 8
mov r9d, dword [rbp + 4]
mov r8d, dword [rbp + 0x18]
mov r10d, dword [rbp + 8]
shl r10, 0x10
mov rax, qword [rbp + 0xc]
mov cx, 1
mov r11d, dword [rbp + 0x14]
jmp 0x140076d5d
mov cx, 2
lea rax, [0x140ab0a58]
mov edi, dword [rbp + 0xb8]
mov word [rbp], di
mov dword [rbp + 2], r12d
shr r12, 0x20
mov word [rbp + 6], r12w
mov r12, qword [rbp + 0xc0]
mov qword [rbp + 8], r12
mov dword [rbp + 0x10], r13d
mov dword [rbp + 0x14], r15d
mov dword [rbp + 0x18], r14d
mov word [rbp + 0x1c], bx
mov word [rbp + 0x20], cx
mov dword [rbp + 0x22], r10d
shr r10, 0x20
mov word [rbp + 0x26], r10w
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x30], r11d
mov dword [rbp + 0x34], r9d
mov dword [rbp + 0x38], r8d
mov word [rbp + 0x3c], dx
cmp di, 2
je 0x140076e72
cmp cx, 2
je 0x140076e72
lea rax, [rbp + 0x20]
movups xmm0, xmmword [rax - 0x20]
movups xmm1, xmmword [rax - 0x10]
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0xa0], xmm1
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0xb8], rax
test rax, rax
je 0x140076e86
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xc0], rax
push 0x50
pop rcx
push 8
pop rdx
call fcn.140031ef5
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm2, xmmword [rbp - 0x40]
movaps xmm3, xmmword [rbp - 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rcx, qword [rbp + 0xb8]
mov qword [rax + 0x40], rcx
mov rcx, qword [rbp + 0xc0]
mov qword [rax + 0x48], rcx
mov qword [rbp + 0x90], rax
lea rax, [0x140a921f8]
jmp 0x140076ee9
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x140076f10
and qword [rbp + 0x88], 0
mov byte [rbp + 0xcf], 1
push 0x40
pop rcx
push 4
pop rdx
call fcn.140031ef5
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm2, xmmword [rbp - 0x40]
movaps xmm3, xmmword [rbp - 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
mov qword [rbp + 0xc0], rax
movups xmmword [rax], xmm0
mov rdx, qword [rbp + 0x98]
xor ecx, ecx
call fcn.1400d5150
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x90], rax
lea rax, [0x140a92220]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x98]
movaps xmm0, xmmword [rbp + 0xa0]
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov rcx, rbp
call fcn.140035aba
nop
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140ab099a]
lea r8, [0x140ab09d8]
push 0x39
pop rdx
call fcn.1400f83a0
jmp 0x140076f8b
lea rcx, [0x140ab09f0]
lea r8, [0x140ab0a30]
push 0x3a
pop rdx
call fcn.1400f83a0
jmp 0x140076f8b
lea rcx, [0x140ab099a]
lea r8, [0x140ab09d8]
push 0x39
pop rdx
call fcn.1400f83a0
jmp 0x140076f8b
lea rcx, [0x140ab09f0]
lea r8, [0x140ab0a30]
push 0x3a
pop rdx
call fcn.1400f83a0
ud2