Function at 0x4ad4d0
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 0x4ad5ab
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x4ad5c3
cmp ecx, 0x17
jne 0x4ad5e3
cmp eax, 0x1b
jbe 0x4ad5fa
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 0x4ad5f3
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 0x4ad5ee
cmp eax, 0xf
jbe 0x4ad60b
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 0x4ad5f3
mov byte [esi + 4], 2
mov dword [esi + 8], 0x587f48
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x587f28
push 0x3a
push str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
call fcn.004dab10
push 0x587edc
push 0x39
push 0x587e88
call fcn.004dab10
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 0x587fb8
push dword [ebp + 0xc]
push edi
call fcn.004dec80
add esp, 0x10
mov esi, dword [esi]
lea ecx, [ebp - 0x38]
mov edx, esi
call fcn.004ad4d0
cmp word [ebp - 0x38], 2
jne 0x4ad69e
cmp byte [ebp - 0x34], 3
jne 0x4ad6df
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 0x4ad676
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x4ad68a
push dword [ebx + 8]
push eax
push edi
call fcn.0040cd20
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x10]
call fcn.0040cd20
add esp, 0xc
lea edi, [ebp - 0x18]
jmp 0x4ad6df
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 0x587fa4
push eax
push 4
push str.addrlinenostd_src...._backtrace_src_symbolizemod.rs
push edi
call fcn.004db320
add esp, 0x14
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
push 0x5849a8
push eax
push 6
push str.socketOwnedSocketpanicked_at_:_nfullstd_srcpath.rs
push edi
call fcn.004db320
add esp, 0x14
push eax
call fcn.004db510
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret