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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
xorps xmm0, xmm0
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], pe_nt_image_headers32
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
push ecx
push edx
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x485f5b
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x485f73
cmp ecx, 0x17
jne 0x485f93
cmp eax, 0x1b
jbe 0x485faa
movsd xmm0, qword [esp + 0x28]
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov word [esi], 1
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
rol ax, 8
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0xe]
movsd xmm1, qword [esp + 0x16]
movzx edi, word [esp + 0x1e]
movsd qword [esi + 2], xmm0
movsd qword [esi + 0xa], xmm1
mov word [esi + 0x12], di
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
jmp 0x485fa3
call sub.ws2_32.dll_WSAGetLastError
mov byte [esi + 4], 0
mov byte [esi + 7], 0
mov word [esi + 5], 0
mov dword [esi + 8], eax
jmp 0x485f9e
cmp eax, 0xf
jbe 0x485fbb
movzx ecx, word [esp + 0x22]
mov eax, dword [esp + 0x24]
mov word [esi], 0
rol cx, 8
mov dword [esi + 2], eax
mov word [esi + 6], cx
jmp 0x485fa3
mov byte [esi + 4], 2
mov dword [esi + 8], 0x4e4bb0
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x4e4b90
push 0x3a
push 0x4e4b54
call fcn.004b3aa0
push 0x4e4b44
push 0x39
push 0x4e4ae8
call fcn.004b3aa0
nop dword [eax]
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x18]
push 0xb
push 0x4e4c20
push dword [ebp + 0xc]
push edi
call fcn.004b7920
add esp, 0x10
mov esi, dword [esi]
lea ecx, [ebp - 0x38]
mov edx, esi
call fcn.00485e80
cmp word [ebp - 0x38], 2
jne 0x48604e
cmp byte [ebp - 0x34], 3
jne 0x48608f
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
test eax, eax
je 0x486026
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x48603a
push dword [ebx + 8]
push eax
push edi
call fcn.004016f0
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x10]
call fcn.004016f0
add esp, 0xc
lea edi, [ebp - 0x18]
jmp 0x48608f
movsd xmm1, qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x20]
movsd xmm2, qword [ebp - 0x38]
movsd qword [ebp - 0x48], xmm1
movsd xmm1, qword [ebp - 0x30]
movsd qword [ebp - 0x40], xmm0
movsd qword [ebp - 0x58], xmm2
movsd qword [ebp - 0x50], xmm1
lea eax, [ebp - 0x58]
push 0x4e4c0c
push eax
push 4
push str.addrlinenolibrary_std_src...._backtrace_src_symbolizemod.rs
push edi
call fcn.004b4260
add esp, 0x14
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
push 0x4e1528
push eax
push 6
push str.socketOwnedSocketpanicked_at_:_nlibrary_std_srcpanic.rs
push edi
call fcn.004b4260
add esp, 0x14
push eax
call fcn.004b4450
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret