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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x110
mov rbx, rdx
mov rsi, rcx
mov ecx, 0x18
mov edx, 8
call fcn.14002fa02
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
mov rcx, rbx
call fcn.1400be7ff
mov rcx, qword [rax + 8]
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
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, [rsp + 0xf0]
mov dword [r8], pe_nt_image_headers64
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x140035ff1
mov eax, dword [rsp + 0xf0]
movzx ecx, word [rsp + 0x70]
cmp ecx, 2
je 0x140036000
cmp ecx, 0x17
jne 0x14003603a
cmp eax, 0x1c
jb 0x14003626f
movzx eax, word [rsp + 0x72]
mov ecx, dword [rsp + 0x74]
rol ax, 8
mov edx, dword [rsp + 0x88]
mov word [rsp + 0x30], 1
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x38], edx
mov word [rsp + 0x3c], ax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x3e], xmm0
mov bp, 1
jmp 0x140036051
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x140036041
cmp eax, 0x10
jb 0x140036284
movzx eax, word [rsp + 0x72]
rol ax, 8
mov ecx, dword [rsp + 0x74]
mov rdx, rcx
shl rdx, 0x10
movzx eax, ax
or rax, rdx
and word [rsp + 0x30], 0
shr rcx, 0x10
mov word [rsp + 0x36], cx
mov dword [rsp + 0x32], eax
xor ebp, ebp
jmp 0x140036051
lea rax, str.invalid_argument_b8
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], 2
mov bp, 2
lea r14, [rsp + 0x50]
mov rcx, rbx
call fcn.1400be7ff
mov rcx, qword [rax + 8]
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
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, [rsp + 0xf0]
mov dword [r8], pe_nt_image_headers64
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1400360fd
mov eax, dword [rsp + 0xf0]
movzx ecx, word [rsp + 0x70]
cmp ecx, 2
je 0x14003610f
cmp ecx, 0x17
jne 0x14003621d
cmp eax, 0x1c
jb 0x14003626f
movzx eax, word [rsp + 0x72]
mov ecx, dword [rsp + 0x74]
rol ax, 8
mov edx, dword [rsp + 0x88]
mov word [rsp + 0x50], 1
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x58], edx
mov word [rsp + 0x5c], ax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x5e], xmm0
mov ax, 1
jmp 0x140036147
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x140036224
cmp eax, 0x10
jb 0x140036284
movzx eax, word [rsp + 0x72]
rol ax, 8
mov ecx, dword [rsp + 0x74]
mov rdx, rcx
shl rdx, 0x10
movzx eax, ax
or rax, rdx
and word [rsp + 0x50], 0
shr rcx, 0x10
mov word [rsp + 0x56], cx
mov dword [rsp + 0x52], eax
xor eax, eax
cmp bp, 2
je 0x140036230
cmp ax, 2
je 0x140036230
lea rbx, [rsp + 0xf0]
and qword [rbx], 0
mov qword [rbx + 0x10], rdi
mov word [rbx + 0x18], 1
mov eax, dword [rsp + 0x2a]
mov dword [rbx + 0x1a], eax
movzx eax, word [rsp + 0x2e]
mov word [rbx + 0x1e], ax
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
mov ecx, 0x40
mov edx, 4
call fcn.14002fa02
mov rdi, rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmm3, xmmword [rsp + 0xa0]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x30], xmm3
mov rcx, rbx
call fcn.140033887
mov qword [rbx], rdi
lea rax, [0x140108350]
mov qword [rbx + 8], rax
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rbx]
mov qword [rsi], rax
mov rax, qword [rbx + 8]
mov qword [rsi + 8], rax
jmp 0x14003624e
lea rax, str.invalid_argument_b8
mov qword [rsp + 0x58], rax
mov word [rsp + 0x50], 2
and qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov eax, dword [rsp + 0x2a]
mov dword [rsi + 0x1a], eax
movzx eax, word [rsp + 0x2e]
mov word [rsi + 0x1e], ax
lea rcx, [rsp + 0x30]
call fcn.14003629e
mov rcx, r14
call fcn.14003629e
nop
add rsp, 0x110
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x140123898]
mov edx, 0x43
jmp 0x140036297
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x1401238f8]
mov edx, 0x42
call fcn.14000e4f0
ud2