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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x100ef0f8]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
mov esi, dword [esp + 0x218]
push edi
cmp dword [esi + 0x2f8], 3
jne 0x10048348
cmp byte [esi + 0x51e], 0
jne 0x10048348
cmp byte [esi + 0x532], 0
jne 0x10048348
mov edi, dword [esp + 0x220]
lea eax, [esp + 0xc]
mov ebx, dword [esi]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x10], 0x80
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x100481c1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.10071db0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.10046a90
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10084864
add esp, 0x20c
ret
push 0x80
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.1009c590
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x10048235
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.10071db0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.10046a90
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10084864
add esp, 0x20c
ret
lea eax, [esi + 0x3a0]
push eax
lea edi, [esi + 0x372]
push edi
push dword [esp + 0x14]
lea eax, [esp + 0xa0]
push eax
call fcn.10047370
add esp, 0x10
test al, al
jne 0x100482a5
call fcn.100a89ed
mov esi, dword [eax]
call fcn.100a89ed
mov edi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.10071db0
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.10046a90
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10084864
add esp, 0x20c
ret
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x28]
movups xmmword [esi + 0x2c4], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x2d4], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x2e4], xmm0
mov dword [esi + 0x2ec], eax
mov ax, word [edi + 0x2c]
mov word [esi + 0x2f0], ax
lea eax, [esi + 0x3d4]
push eax
lea eax, [esi + 0x3a4]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.10047370
add esp, 0x10
test al, al
jne 0x10048348
call fcn.100a89ed
mov esi, dword [eax]
call fcn.100a89ed
mov edi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.10071db0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.10046a90
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10084864
add esp, 0x20c
ret
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x372]
pop edi
movups xmmword [ecx + 0x1168], xmm0
movups xmm0, xmmword [esi + 0x382]
movups xmmword [ecx + 0x1178], xmm0
movq xmm0, qword [esi + 0x392]
movq qword [ecx + 0x1188], xmm0
mov eax, dword [esi + 0x39a]
mov dword [ecx + 0x1190], eax
movzx eax, word [esi + 0x39e]
mov word [ecx + 0x1194], ax
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x3a4]
movups xmmword [ecx + 0x119c], xmm0
movups xmm0, xmmword [esi + 0x3b4]
movups xmmword [ecx + 0x11ac], xmm0
movq xmm0, qword [esi + 0x3c4]
movq qword [ecx + 0x11bc], xmm0
mov eax, dword [esi + 0x3cc]
mov dword [ecx + 0x11c4], eax
movzx eax, word [esi + 0x3d0]
mov word [ecx + 0x11c8], ax
mov eax, dword [esi + 0x568]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ecx + 0x11d0], eax
mov eax, dword [esi + 0x568]
mov ecx, dword [esi]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x11d4], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x3a0]
mov dword [ecx + 0x1198], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x3d4]
pop esi
pop ebx
mov dword [ecx + 0x11cc], eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10084864
add esp, 0x20c
ret