Function at 0x14008bd30
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, 0x138
mov rbx, rdx
mov rsi, rcx
movzx eax, byte [0x14036c240]
mov rcx, qword [0x14036c198]
test rcx, rcx
jne 0x14008bd74
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14008c1a1
mov rcx, rax
mov qword [0x14036c198], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14008c1a1
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov byte [rax + 0x10], 0
mov word [rsp + 0x130], 1
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x128], rax
mov rbx, qword [rbx + 0x18]
cmp rbx, 0xffffffffffffffff
je 0x14008c1b5
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x100], xmm0
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmmword [rsp + 0xd0], xmm0
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x38], pe_nt_image_headers64
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x38]
mov rcx, rbx
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14008bea4
mov eax, dword [rsp + 0x38]
movzx ecx, word [rsp + 0x90]
cmp ecx, 2
je 0x14008beb6
cmp ecx, 0x17
jne 0x14008bedf
cmp eax, 0x1b
jbe 0x14008c1e0
movdqu xmm0, xmmword [rsp + 0x98]
movzx r15d, word [rsp + 0x92]
rol r15w, 8
mov r13d, dword [rsp + 0x94]
mov r12d, dword [rsp + 0xa8]
movdqu xmmword [rsp + 0x7a], xmm0
movq rax, xmm0
pshufd xmm0, xmm0, 0xee
movq r14, xmm0
shld r14, rax, 0x20
mov bp, 1
jmp 0x14008beef
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
jmp 0x14008bee6
cmp eax, 0xf
jbe 0x14008c1f5
movzx eax, word [rsp + 0x92]
rol ax, 8
mov ecx, dword [rsp + 0x94]
mov word [rsp + 0x7c], ax
mov dword [rsp + 0x78], ecx
xor ebp, ebp
jmp 0x14008beef
lea r14, str.invalid_argument
mov qword [rsp + 0x7e], r14
mov bp, 2
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x100], xmm0
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmmword [rsp + 0xd0], xmm0
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x38], pe_nt_image_headers64
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x38]
mov rcx, rbx
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14008bfab
mov eax, dword [rsp + 0x38]
movzx ecx, word [rsp + 0x90]
cmp ecx, 2
je 0x14008bfba
cmp ecx, 0x17
jne 0x14008bfe3
cmp eax, 0x1b
jbe 0x14008c20a
movdqu xmm0, xmmword [rsp + 0x98]
movzx eax, word [rsp + 0x92]
rol ax, 8
mov edx, dword [rsp + 0x94]
mov ecx, dword [rsp + 0xa8]
movdqu xmmword [rsp + 0x22], xmm0
mov bx, 1
jmp 0x14008bff3
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x14008bfea
cmp eax, 0xf
jbe 0x14008c21f
movzx eax, word [rsp + 0x92]
rol ax, 8
mov ecx, dword [rsp + 0x94]
mov word [rsp + 0x24], ax
mov dword [rsp + 0x20], ecx
xor ebx, ebx
jmp 0x14008bff3
lea rax, str.invalid_argument
mov qword [rsp + 0x26], rax
mov bx, 2
mov word [rsp + 0x38], bp
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x3a], xmm0
movzx r8d, word [rsp + 0x88]
mov word [rsp + 0x4a], r8w
mov dword [rsp + 0x4c], r13d
mov dword [rsp + 0x50], r12d
mov word [rsp + 0x54], r15w
mov word [rsp + 0x58], bx
mov r8d, dword [rsp + 0x20]
mov dword [rsp + 0x5a], r8d
movzx r8d, word [rsp + 0x24]
mov word [rsp + 0x5e], r8w
mov r8, qword [rsp + 0x26]
mov qword [rsp + 0x60], r8
movzx r8d, word [rsp + 0x2e]
mov word [rsp + 0x68], r8w
movzx r8d, word [rsp + 0x30]
mov word [rsp + 0x6a], r8w
mov dword [rsp + 0x6c], edx
mov dword [rsp + 0x70], ecx
mov word [rsp + 0x74], ax
cmp bp, 2
je 0x14008c153
cmp bx, 2
je 0x14008c153
lea rax, [rsp + 0x58]
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
movdqu xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movdqa xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm1
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x14036c240]
mov rcx, qword [0x14036c198]
test rcx, rcx
jne 0x14008c0ef
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14008c1cf
mov rcx, rax
mov qword [0x14036c198], rax
mov r8d, 0x40
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14008c1cf
movdqa xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
mov qword [rsi], rax
lea rax, [0x1402c6c38]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0x18], rax
jmp 0x14008c18c
movdqu xmm0, xmmword [rsp + 0x118]
movups xmm1, xmmword [rsp + 0x128]
movups xmmword [rsi + 0x10], xmm1
movdqu xmmword [rsi], xmm0
cmp bp, 2
jne 0x14008c17c
mov rcx, qword [rsp + 0x40]
call fcn.1400b9660
cmp bx, 2
jne 0x14008c18c
mov rcx, qword [rsp + 0x60]
call fcn.1400b9660
nop
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x18
call fcn.140004360
jmp 0x14008c237
lea r8, str._Users_ma__kiri_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.35.1_src_io_poll_evented.rs
mov edx, 0x2b
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
call fcn.14003e7d0
jmp 0x14008c237
mov ecx, 4
mov edx, 0x40
call fcn.140004360
jmp 0x14008c237
lea r8, str.:90_
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
jmp 0x14008c1c8
lea r8, [0x140303960]
mov edx, 0x42
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
jmp 0x14008c1c8
lea r8, str.:90_
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
jmp 0x14008c232
lea r8, [0x140303960]
mov edx, 0x42
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
call fcn.14003e7d0
ud2