Function at 0x100ae640
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 0x100ae71b
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x100ae733
cmp ecx, 0x17
jne 0x100ae753
cmp eax, 0x1b
jbe 0x100ae76a
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 0x100ae763
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 0x100ae75e
cmp eax, 0xf
jbe 0x100ae77b
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 0x100ae763
mov byte [esi + 4], 2
mov dword [esi + 8], 0x1017c490
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x1017c470
push 0x3a
push 0x1017c434
call fcn.100dc1e0
push 0x1017c424
push 0x39
push 0x1017c3c8
call fcn.100dc1e0
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 0x1017c500
push dword [ebp + 0xc]
push edi
call fcn.100e0060
add esp, 0x10
mov esi, dword [esi]
lea ecx, [ebp - 0x38]
mov edx, esi
call fcn.100ae640
cmp word [ebp - 0x38], 2
jne 0x100ae80e
cmp byte [ebp - 0x34], 3
jne 0x100ae84f
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 0x100ae7e6
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x100ae7fa
push dword [ebx + 8]
push eax
push edi
call fcn.1000d080
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x10]
call fcn.1000d080
add esp, 0xc
lea edi, [ebp - 0x18]
jmp 0x100ae84f
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 0x1017c4ec
push eax
push 4
push str.addrlinenolibrary_std_src...._backtrace_src_symbolizemod.rs
push edi
call fcn.100dc9a0
add esp, 0x14
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
push 0x10178e08
push eax
push 6
push str.socketOwnedSocketpanicked_at_:_nlibrary_std_srcpanic.rs
push edi
call fcn.100dc9a0
add esp, 0x14
push eax
call fcn.100dcb90
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret