Function at 0x1005c120
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 0x1005c1fb
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x1005c213
cmp ecx, 0x17
jne 0x1005c233
cmp eax, 0x1b
jbe 0x1005c24a
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 0x1005c243
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 0x1005c23e
cmp eax, 0xf
jbe 0x1005c25b
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 0x1005c243
mov byte [esi + 4], 2
mov dword [esi + 8], 0x100c8960
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x100c8940
push 0x3a
push 0x100c8904
call fcn.10089e60
push 0x100c88f4
push 0x39
push 0x100c8898
call fcn.10089e60
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 0x100c89d0
push dword [ebp + 0xc]
push edi
call fcn.1008dce0
add esp, 0x10
mov esi, dword [esi]
lea ecx, [ebp - 0x38]
mov edx, esi
call fcn.1005c120
cmp word [ebp - 0x38], 2
jne 0x1005c2ee
cmp byte [ebp - 0x34], 3
jne 0x1005c32f
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 0x1005c2c6
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x1005c2da
push dword [ebx + 8]
push eax
push edi
call fcn.10004ab0
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x10]
call fcn.10004ab0
add esp, 0xc
lea edi, [ebp - 0x18]
jmp 0x1005c32f
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 0x100c89bc
push eax
push 4
push str.addrlinenolibrary_std_src...._backtrace_src_symbolizemod.rs
push edi
call fcn.1008a620
add esp, 0x14
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x58]
push 0x100c52d8
push eax
push 6
push str.socketOwnedSocketpanicked_at_:_nlibrary_std_srcpanic.rs
push edi
call fcn.1008a620
add esp, 0x14
push eax
call fcn.1008a810
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret