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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r14, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1401d0fee
mov rcx, qword [rax]
pxor xmm0, xmm0
lea rdx, [rsp + 0x60]
movdqa xmmword [rdx + 0x70], xmm0
movdqa xmmword [rdx + 0x60], xmm0
movdqa xmmword [rdx + 0x50], xmm0
movdqa xmmword [rdx + 0x40], xmm0
movdqa xmmword [rdx + 0x30], xmm0
movdqa xmmword [rdx + 0x20], xmm0
movdqa xmmword [rdx + 0x10], xmm0
movdqa xmmword [rdx], xmm0
lea r8, [rsp + 0x20]
mov dword [r8], pe_nt_image_headers64
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x1400cb414
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x60]
cmp ecx, 2
je 0x1400cb425
cmp ecx, 0x17
jne 0x1400cb448
cmp eax, 0x1b
jbe 0x1400cb617
movdqu xmm0, xmmword [rsp + 0x68]
movzx r15d, word [rsp + 0x62]
rol r15w, 8
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
movdqu xmmword [rsp + 0x4a], xmm0
movq rax, xmm0
pshufd xmm0, xmm0, 0xee
movq rdi, xmm0
shld rdi, rax, 0x20
mov bx, 1
jmp 0x1400cb458
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x1400cb44f
cmp eax, 0xf
jbe 0x1400cb62f
movzx eax, word [rsp + 0x62]
rol ax, 8
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x4c], ax
mov dword [rsp + 0x48], ecx
xor ebx, ebx
jmp 0x1400cb458
lea rdi, str.invalid_argument
mov qword [rsp + 0x4e], rdi
mov bx, 2
mov rcx, r14
call fcn.1401d0fee
mov rcx, qword [rax]
pxor xmm0, xmm0
lea rdx, [rsp + 0x60]
movdqa xmmword [rdx + 0x70], xmm0
movdqa xmmword [rdx + 0x60], xmm0
movdqa xmmword [rdx + 0x50], xmm0
movdqa xmmword [rdx + 0x40], xmm0
movdqa xmmword [rdx + 0x30], xmm0
movdqa xmmword [rdx + 0x20], xmm0
movdqa xmmword [rdx + 0x10], xmm0
movdqa xmmword [rdx], xmm0
lea r8, [rsp + 0x44]
mov dword [r8], pe_nt_image_headers64
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1400cb503
mov eax, dword [rsp + 0x44]
movzx ecx, word [rsp + 0x60]
cmp ecx, 2
je 0x1400cb518
cmp ecx, 0x17
jne 0x1400cb5d4
cmp eax, 0x1b
jbe 0x1400cb617
movdqu xmm0, xmmword [rsp + 0x68]
movzx r13d, word [rsp + 0x62]
rol r13w, 8
mov r12d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x78]
movdqu xmmword [rsp + 0x22], xmm0
movq rax, xmm0
pshufd xmm0, xmm0, 0xee
movq r14, xmm0
shld r14, rax, 0x20
mov bp, 1
jmp 0x1400cb539
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
jmp 0x1400cb5db
cmp eax, 0xf
jbe 0x1400cb62f
movzx eax, word [rsp + 0x62]
rol ax, 8
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x24], ax
mov dword [rsp + 0x20], ecx
xor ebp, ebp
cmp bx, 2
je 0x1400cb5e4
cmp bp, 2
je 0x1400cb5e4
mov ecx, 0x40
mov dword [rsp + 0x38], edx
mov edx, 4
call fcn.1400c9604
mov ecx, r15d
mov r15, rax
mov word [rax], bx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 2], xmm0
movzx eax, word [rsp + 0x58]
mov word [r15 + 0x12], ax
mov eax, dword [rsp + 0x3c]
mov dword [r15 + 0x14], eax
mov eax, dword [rsp + 0x40]
mov dword [r15 + 0x18], eax
mov word [r15 + 0x1c], cx
mov word [r15 + 0x20], bp
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [r15 + 0x22], xmm0
movzx eax, word [rsp + 0x30]
mov word [r15 + 0x32], ax
mov dword [r15 + 0x34], r12d
mov eax, dword [rsp + 0x38]
mov dword [r15 + 0x38], eax
mov word [r15 + 0x3c], r13w
xor ecx, ecx
call fcn.1400ca88e
mov qword [rsi], r15
lea rax, [0x14033c9d8]
mov qword [rsi + 8], rax
jmp 0x1400cb5e8
lea r14, str.invalid_argument
mov qword [rsp + 0x26], r14
mov bp, 2
and qword [rsi], 0
mov word [rsi + 0x10], 1
mov ecx, ebx
mov rdx, rdi
call fcn.1400cb648
mov ecx, ebp
mov rdx, r14
call fcn.1400cb648
nop
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1403beff8]
mov edx, 0x43
call fcn.14009e210
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x1403bef98]
mov edx, 0x42
call fcn.14009e210
int3