Function at 0x4ae7a0
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 0x4ae87b
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x4ae893
cmp ecx, 0x17
jne 0x4ae8b3
cmp eax, 0x1b
jbe 0x4ae8ca
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 0x4ae8c3
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 0x4ae8be
cmp eax, 0xf
jbe 0x4ae8db
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 0x4ae8c3
mov byte [esi + 4], 2
mov dword [esi + 8], 0x543c90
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x543c70
push 0x3a
push 0x543c34
call fcn.004dc340
push 0x543c24
push 0x39
push 0x543bc8
call fcn.004dc340
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 0x543d00
push dword [ebp + 0xc]
push edi
call fcn.004e01c0
add esp, 0x10
mov esi, dword [esi]
lea ecx, [ebp - 0x38]
mov edx, esi
call fcn.004ae7a0
cmp word [ebp - 0x38], 2
jne 0x4ae96e
cmp byte [ebp - 0x34], 3
jne 0x4ae9af
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 0x4ae946
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x4ae95a
push dword [ebx + 8]
push eax
push edi
call fcn.0040d1e0
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x10]
call fcn.0040d1e0
add esp, 0xc
lea edi, [ebp - 0x18]
jmp 0x4ae9af
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 0x543cec
push eax
push 4
push str.addrlinenolibrary_std_src...._backtrace_src_symbolizemod.rs
push edi
call fcn.004dcb00
add esp, 0x14
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
push 0x540608
push eax
push 6
push str.socketOwnedSocketpanicked_at_:_nlibrary_std_srcpanic.rs
push edi
call fcn.004dcb00
add esp, 0x14
push eax
call fcn.004dccf0
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret