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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
lea eax, [ebp - 0x34]
push ebx
mov ebx, dword [ebp + 8]
push 0x2e
push 0
push eax
call fcn.005d6d60
mov ecx, dword [ebp + 0xc]
add esp, 0xc
or edx, 0xffffffff
cmp byte [ecx + 0x329], 3
jne 0x4cf487
cmp byte [ecx + 0x247], 0
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push edi
mov edi, dword [ebp + 0x10]
jne 0x4cf3aa
cmp byte [ecx + 0x255], 0
jne 0x4cf3aa
push 0x80
lea eax, [ebp - 0xb4]
mov dword [ebp + 8], 0x80
push 0
push eax
call fcn.005d6d60
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xb4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x4cf34d
call esi
mov esi, eax
lea eax, [ebp - 0x1b4]
push 0x100
push eax
push esi
call fcn.004b9790
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.004cdd90
jmp 0x4cf3a1
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xbc
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xb4]
push eax
call fcn.004ce6a0
add esp, 0x10
test al, al
jne 0x4cf3aa
call fcn.005b7f69
mov esi, dword [eax]
call fcn.005b7f69
mov edi, eax
lea eax, [ebp - 0x1b4]
push 0x100
push eax
push esi
call fcn.004b9790
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.004cdd90
mov edi, dword [ebp + 0x10]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
add esp, 0x1c
push 0x80
lea eax, [ebp - 0xb4]
mov dword [ebp + 8], 0x80
push 0
push eax
call fcn.005d6d60
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xb4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x4cf408
call esi
mov esi, eax
lea eax, [ebp - 0x1b4]
push 0x100
push eax
push esi
call fcn.004b9790
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.004cdd90
add esp, 0x1c
or edx, 0xffffffff
jmp 0x4cf482
movzx eax, word [ebp - 0xb4]
sub eax, 2
jne 0x4cf440
push 0x2e
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb0]
push eax
push 2
call fcn.004e89a0
add esp, 0x10
test eax, eax
je 0x4cf440
push dword [ebp - 0xb2]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
jmp 0x4cf482
mov byte [ebp - 0x34], 0
call fcn.005b7f69
mov dword [eax], 0x273f
call fcn.005b7f69
mov esi, dword [eax]
call fcn.005b7f69
mov edi, eax
lea eax, [ebp - 0x1b4]
push 0x100
push eax
push esi
call fcn.004b9790
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.004cdd90
add esp, 0x1c
xor edx, edx
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
cmp byte [ebp - 0x34], 0
movups xmm0, xmmword [ecx + 0xbc]
movups xmmword [ebx + 0xd40], xmm0
movups xmm0, xmmword [ecx + 0xcc]
movups xmmword [ebx + 0xd50], xmm0
movq xmm0, qword [ecx + 0xdc]
movq qword [ebx + 0xd60], xmm0
mov eax, dword [ecx + 0xe4]
mov dword [ebx + 0xd68], eax
mov ax, word [ecx + 0xe8]
mov word [ebx + 0xd6c], ax
je 0x4cf50c
movups xmm0, xmmword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
movups xmmword [ebx + 0xd78], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebx + 0xd88], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ebx + 0xd98], xmm0
mov dword [ebx + 0xda0], eax
mov ax, word [ebp - 8]
mov word [ebx + 0xda4], ax
jmp 0x4cf513
mov byte [ebx + 0xd78], 0
mov eax, dword [ecx + 0x280]
mov eax, dword [eax]
mov dword [ebx + 0xdac], eax
mov eax, dword [ecx + 0x280]
mov eax, dword [eax + 0x44]
mov dword [ebx + 0xdb0], eax
mov eax, dword [ecx + 0x318]
mov dword [ebx + 0xd70], eax
mov eax, dword [ecx + 0x31c]
mov dword [ebx + 0xd74], eax
mov dword [ebx + 0xda8], edx
pop ebx
mov esp, ebp
pop ebp
ret