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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x100
mov r14, rdx
mov rsi, rcx
mov ecx, 0x18
mov edx, 8
call fcn.18003ce24
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
mov rcx, r14
call fcn.1800e5b74
mov rcx, qword [rax]
xorps xmm0, xmm0
lea rdx, [rsp + 0x80]
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 + 0x28]
mov dword [r8], 0x80
call sub.WS2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x1800429b7
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x80]
cmp ecx, 2
je 0x1800429c7
cmp ecx, 0x17
jne 0x1800429f6
cmp eax, 0x1c
jb 0x180042bf6
movzx eax, word [rsp + 0x82]
rol ax, 8
mov ecx, dword [rsp + 0x84]
mov edx, dword [rsp + 0x98]
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], 1
movups xmm0, xmmword [rsp + 0x2e]
movups xmmword [rsp + 0x42], xmm0
movzx r8d, word [rsp + 0x3e]
mov word [rsp + 0x52], r8w
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x58], edx
mov word [rsp + 0x5c], ax
mov bp, 1
jmp 0x180042a0d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x1800429fd
cmp eax, 0x10
jb 0x180042c0b
movzx eax, word [rsp + 0x82]
rol ax, 8
and word [rsp + 0x40], 0
mov ecx, dword [rsp + 0x84]
mov word [rsp + 0x46], ax
mov dword [rsp + 0x42], ecx
xor ebp, ebp
jmp 0x180042a0d
lea rax, str.invalid_argument
mov qword [rsp + 0x48], rax
mov word [rsp + 0x40], 2
mov bp, 2
lea rbx, [rsp + 0x60]
mov rcx, r14
call fcn.1800e5b74
mov rcx, qword [rax]
xorps xmm0, xmm0
lea rdx, [rsp + 0x80]
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 + 0x28]
mov dword [r8], 0x80
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x180042ad3
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x80]
cmp ecx, 2
je 0x180042ae6
cmp ecx, 0x17
jne 0x180042ba4
cmp eax, 0x1c
jb 0x180042bf6
movzx eax, word [rsp + 0x82]
rol ax, 8
mov ecx, dword [rsp + 0x84]
mov edx, dword [rsp + 0x98]
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x60], 1
movups xmm0, xmmword [rsp + 0x2e]
movups xmmword [rsp + 0x62], xmm0
movzx r8d, word [rsp + 0x3e]
mov word [rsp + 0x72], r8w
mov dword [rsp + 0x74], ecx
mov dword [rsp + 0x78], edx
mov word [rsp + 0x7c], ax
jmp 0x180042b11
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x180042bab
cmp eax, 0x10
jb 0x180042c0b
mov eax, dword [rsp + 0x84]
movzx ecx, word [rsp + 0x82]
and word [rsp + 0x60], 0
rol cx, 8
mov word [rsp + 0x66], cx
mov dword [rsp + 0x62], eax
cmp bp, 2
je 0x180042bb7
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
mov ecx, 0x40
mov edx, 4
call fcn.18003ce24
mov r14, rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x30], xmm3
xor ecx, ecx
call fcn.18000399d
mov qword [rsi], r14
lea rax, [0x18018d598]
mov qword [rsi + 8], rax
jmp 0x180042bbb
lea rax, str.invalid_argument
mov qword [rsp + 0x68], rax
mov word [rsp + 0x60], 2
and qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov eax, dword [rsp + 0x2e]
mov dword [rsi + 0x1a], eax
movzx eax, word [rsp + 0x32]
mov word [rsi + 0x1e], ax
lea rcx, [rsp + 0x40]
call fcn.180042c25
mov rcx, rbx
call fcn.180042c25
nop
add rsp, 0x100
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, [0x1801c7160]
mov edx, 0x43
jmp 0x180042c1e
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x1801c71c0]
mov edx, 0x42
call fcn.180146900
ud2