Function at 0x462fc0
Capabilities:
Get local ipv4 addresses
Get socket information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
movzx eax, byte [0x5e1184]
mov ebx, edx
mov edi, ecx
xor ecx, ecx
mov edx, 0xc
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
test eax, eax
je 0x46354e
mov dword [eax], 1
mov dword [eax + 4], 1
mov byte [eax + 8], 0
mov esi, eax
mov word [esp + 0x8c], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x88], eax
mov ebx, dword [ebx + 0xc]
cmp ebx, 0xffffffff
je 0x46355d
xorps xmm0, xmm0
mov dword [esp + 0x14], pe_nt_image_headers32
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
lea eax, [esp + 0x14]
lea edi, [esp + 0x90]
push eax
push edi
push ebx
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x463135
movzx ecx, word [esp + 0x90]
mov eax, dword [esp + 0x14]
cmp ecx, 2
je 0x463151
cmp ecx, 0x17
jne 0x463186
cmp eax, 0x1b
jbe 0x46357a
movsd xmm0, qword [esp + 0x98]
mov ecx, dword [esp + 0x94]
movzx eax, word [esp + 0x92]
mov edx, dword [esp + 0xa8]
mov word [esp + 0x20], 1
movsd qword [esp + 0x42], xmm0
movsd xmm0, qword [esp + 0xa0]
mov dword [esp], ecx
rol ax, 8
movsd qword [esp + 0x4a], xmm0
movsd xmm0, qword [esp + 0x40]
movzx ecx, word [esp + 0x50]
movsd qword [esp + 0x22], xmm0
movsd xmm0, qword [esp + 0x48]
mov word [esp + 0x32], cx
mov ecx, dword [esp]
movsd qword [esp + 0x2a], xmm0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov word [esp + 0x3c], ax
mov ax, 1
jmp 0x46319e
call sub.ws2_32.dll_WSAGetLastError
mov byte [esp + 0x24], 0
mov byte [esp + 0x27], 0
mov word [esp + 0x25], 0
mov dword [esp + 0x28], eax
jmp 0x463193
cmp eax, 0xf
jbe 0x46358b
movzx ecx, word [esp + 0x92]
mov eax, dword [esp + 0x94]
mov word [esp + 0x20], 0
mov dword [esp], 0
rol cx, 8
mov dword [esp + 0x22], eax
mov word [esp + 0x26], cx
jmp 0x4631a1
mov byte [esp + 0x24], 2
mov dword [esp + 0x28], 0x5b328c
mov ax, 2
mov word [esp + 0x20], 2
mov dword [esp], eax
xorps xmm0, xmm0
mov dword [esp + 0x1c], pe_nt_image_headers32
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x463285
movzx ecx, word [esp + 0x90]
mov eax, dword [esp + 0x1c]
cmp ecx, 2
je 0x4632a1
cmp ecx, 0x17
jne 0x4632ca
cmp eax, 0x1b
jbe 0x4635a5
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
movzx ecx, word [esp + 0x92]
mov edi, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xa0]
rol cx, 8
mov dword [esp + 0x42], eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
movzx ebx, word [esp + 0x44]
mov word [esp + 8], bx
mov bx, 1
jmp 0x4632d8
call sub.ws2_32.dll_WSAGetLastError
mov byte [esp + 6], 0
mov byte [esp + 9], 0
mov word [esp + 7], 0
mov bx, 2
jmp 0x4632d8
cmp eax, 0xf
jbe 0x4635b6
movzx ecx, word [esp + 0x92]
mov eax, dword [esp + 0x94]
xor ebx, ebx
rol cx, 8
mov dword [esp + 4], eax
mov word [esp + 8], cx
jmp 0x4632d8
mov byte [esp + 6], 2
mov bx, 2
mov eax, 0x5b328c
movsd xmm1, qword [esp + 0x30]
movsd xmm0, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x20]
mov edx, dword [esp + 4]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x48], xmm1
mov word [esp + 0x60], bx
mov dword [esp + 0x62], edx
movzx edx, word [esp + 8]
mov word [esp + 0x66], dx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
mov word [esp + 0x7c], cx
movzx eax, word [esp + 0x40]
cmp ax, 2
sete cl
cmp bx, 2
sete dl
or dl, cl
je 0x46342b
movsd xmm0, qword [esp + 0x80]
mov ecx, dword [esp + 0x10]
movsd xmm1, qword [esp + 0x88]
cmp ax, 2
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
jne 0x4633d1
cmp byte [esp + 0x44], 3
jne 0x4633d1
mov eax, dword [esp + 0x48]
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
test eax, eax
je 0x4633a3
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4633c0
cmp dword [edi + 8], 9
jb 0x4633b2
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
push dword [esp + 0x10]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
cmp bx, 2
jne 0x463546
cmp byte [esp + 0x64], 3
jne 0x463546
mov esi, dword [esp + 0x68]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4633fb
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x463418
cmp dword [ebx + 8], 9
jb 0x46340a
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
push esi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
jmp 0x463546
movsd xmm1, qword [esp + 0x50]
lea eax, [esp + 0x60]
movsd xmm0, qword [esp + 0x58]
movsd xmm2, qword [esp + 0x40]
mov edi, dword [esp + 0x8c]
movsd xmm3, qword [eax]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0xa8], xmm0
movsd xmm2, qword [eax + 0x10]
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xb0], xmm3
movsd qword [esp + 0xc0], xmm2
movsd qword [esp + 0xb8], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [esp + 0xc8], xmm1
movzx eax, byte [0x5e1184]
xor ecx, ecx
mov edx, 0x40
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
test eax, eax
je 0x463569
movsd xmm0, qword [esp + 0xc8]
mov ecx, dword [esp + 0x10]
movsd qword [eax + 0x38], xmm0
movsd xmm0, qword [esp + 0xc0]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [esp + 0xb8]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esp + 0xb0]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esp + 0xa8]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0x90]
movsd xmm1, qword [esp + 0x98]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [ecx], eax
mov dword [ecx + 4], 0x58834c
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 0xc
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
mov ecx, 0x5b4058
call sym.core::option::unwrap_failed::h4002a2165d665d64
jmp 0x4635ce
mov ecx, 4
mov edx, 0x40
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
jmp 0x4635ce
mov eax, 0x5b326c
mov edx, 0x3a
mov ecx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
jmp 0x46359a
mov eax, 0x5b3220
mov edx, 0x39
mov ecx, 0x5b31cc
push eax
call sym.core::panicking::panic::hf6244c8fb5815825
add esp, 4
jmp 0x4635ce
mov eax, 0x5b326c
mov edx, 0x3a
mov ecx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
jmp 0x4635c5
mov eax, 0x5b3220
mov edx, 0x39
mov ecx, 0x5b31cc
push eax
call sym.core::panicking::panic::hf6244c8fb5815825
add esp, 4
ud2