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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x7000a8]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
mov ebx, dword [esp + 0x1c8]
lea eax, [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x1d0]
push esi
push edi
push 0x2e
push 0
push eax
call fcn.004b9340
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
add esp, 0xc
cmp byte [ebp + 0x247], 0
mov edi, dword [esp + 0x1dc]
mov dword [esp + 0x14], 0xffffffff
jne 0x4940b9
cmp byte [ebp + 0x331], 3
jne 0x494002
cmp byte [ebp + 0x255], 0
jne 0x4940b9
push 0x80
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.004b9340
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x494059
call esi
mov esi, eax
lea eax, [esp + 0xcc]
push 0x100
push eax
push esi
call fcn.004a5ac0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.00492850
jmp 0x4940b0
lea eax, [esp + 0x18]
push eax
lea eax, [ebp + 0xbc]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.00493270
add esp, 0x10
test al, al
jne 0x4940b9
call fcn.004c0461
mov esi, dword [eax]
call fcn.004c0461
mov edi, eax
lea eax, [esp + 0xcc]
push 0x100
push eax
push esi
call fcn.004a5ac0
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00492850
mov edi, dword [esp + 0x1f8]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
add esp, 0x1c
push 0x80
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.004b9340
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x49410a
call esi
mov esi, eax
lea eax, [esp + 0xcc]
push 0x100
push eax
push esi
call fcn.004a5ac0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x494155
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.00493270
add esp, 0x10
test al, al
jne 0x49415e
call fcn.004c0461
mov esi, dword [eax]
call fcn.004c0461
mov edi, eax
lea eax, [esp + 0xcc]
push 0x100
push eax
push esi
call fcn.004a5ac0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00492850
add esp, 0x1c
cmp byte [esp + 0x9c], 0
movups xmm0, xmmword [ebp + 0xbc]
movups xmmword [ebx + 0xd40], xmm0
movups xmm0, xmmword [ebp + 0xcc]
movups xmmword [ebx + 0xd50], xmm0
movq xmm0, qword [ebp + 0xdc]
movq qword [ebx + 0xd60], xmm0
mov eax, dword [ebp + 0xe4]
mov dword [ebx + 0xd68], eax
mov ax, word [ebp + 0xe8]
mov word [ebx + 0xd6c], ax
je 0x4941fb
movups xmm0, xmmword [esp + 0x9c]
mov eax, dword [esp + 0xc4]
movups xmmword [ebx + 0xd78], xmm0
movups xmm0, xmmword [esp + 0xac]
movups xmmword [ebx + 0xd88], xmm0
movq xmm0, qword [esp + 0xbc]
movq qword [ebx + 0xd98], xmm0
mov dword [ebx + 0xda0], eax
mov ax, word [esp + 0xc8]
mov word [ebx + 0xda4], ax
jmp 0x494202
mov byte [ebx + 0xd78], 0
mov eax, dword [ebp + 0x280]
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
mov eax, dword [eax]
mov dword [ebx + 0xdac], eax
mov eax, dword [ebp + 0x280]
mov eax, dword [eax + 0x44]
and eax, 0x3ffffff
mov dword [ebx + 0xdb0], eax
mov eax, dword [ebp + 0x31c]
mov dword [ebx + 0xd70], eax
mov eax, dword [ebp + 0x320]
mov dword [ebx + 0xd74], eax
mov eax, dword [esp + 0xc]
pop ebp
mov dword [ebx + 0xda8], eax
pop ebx
xor ecx, esp
call fcn.004b75b2
add esp, 0x1c0
ret