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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x52a098]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
cmp dword [esi + 0x2f8], 3
jne 0x466fe7
cmp byte [esi + 0x501], 0
push ebx
push edi
jne 0x466f18
cmp byte [esi + 0x51b], 0
jne 0x466f18
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 0x466d91
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.00451c10
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.00465470
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0049ca1b
add esp, 0x20c
ret
push 0x80
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.004b5630
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 0x466e05
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.00451c10
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.00465470
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0049ca1b
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.00465fa0
add esp, 0x10
test al, al
jne 0x466e75
call fcn.004bcfe2
mov esi, dword [eax]
call fcn.004bcfe2
mov edi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.00451c10
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00465470
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0049ca1b
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.00465fa0
add esp, 0x10
test al, al
jne 0x466f18
call fcn.004bcfe2
mov esi, dword [eax]
call fcn.004bcfe2
mov edi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.00451c10
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00465470
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0049ca1b
add esp, 0x20c
ret
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x372]
pop edi
pop ebx
movups xmmword [ecx + 0x10b8], xmm0
movups xmm0, xmmword [esi + 0x382]
movups xmmword [ecx + 0x10c8], xmm0
movq xmm0, qword [esi + 0x392]
movq qword [ecx + 0x10d8], xmm0
mov eax, dword [esi + 0x39a]
mov dword [ecx + 0x10e0], eax
movzx eax, word [esi + 0x39e]
mov word [ecx + 0x10e4], ax
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x3a4]
movups xmmword [ecx + 0x10ec], xmm0
movups xmm0, xmmword [esi + 0x3b4]
movups xmmword [ecx + 0x10fc], xmm0
movq xmm0, qword [esi + 0x3c4]
movq qword [ecx + 0x110c], xmm0
mov eax, dword [esi + 0x3cc]
mov dword [ecx + 0x1114], eax
movzx eax, word [esi + 0x3d0]
mov word [ecx + 0x1118], ax
mov eax, dword [esi + 0x540]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ecx + 0x1120], eax
mov eax, dword [esi + 0x540]
mov ecx, dword [esi]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x1124], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x3a0]
mov dword [ecx + 0x10e8], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x3d4]
mov dword [ecx + 0x111c], eax
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0049ca1b
add esp, 0x20c
ret