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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x599850]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x90], 3
jne 0x492ed5
cmp byte [esi + 0x2a5], 0
push ebx
push edi
jne 0x492e06
cmp byte [esi + 0x2bd], 0
jne 0x492e06
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x188]
mov ebx, dword [esi]
push eax
lea eax, [ebp - 0x184]
mov dword [ebp - 0x188], 0x80
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x492c93
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x84]
push 0x80
push eax
push esi
call fcn.0047fa40
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.00491510
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret
push 0x80
lea eax, [ebp - 0x104]
mov dword [ebp - 0x18c], 0x80
push 0
push eax
call fcn.00504e30
add esp, 0xc
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x492d07
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x84]
push 0x80
push eax
push esi
call fcn.0047fa40
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.00491510
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x138]
push eax
lea edi, [esi + 0x10a]
push edi
push dword [ebp - 0x188]
lea eax, [ebp - 0x184]
push eax
call fcn.00491f60
add esp, 0x10
test al, al
jne 0x492d70
call fcn.0050f6ae
mov esi, dword [eax]
call fcn.0050f6ae
mov edi, eax
lea eax, [ebp - 0x84]
push 0x80
push eax
push esi
call fcn.0047fa40
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00491510
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x28]
movups xmmword [esi + 0x5c], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x6c], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x7c], xmm0
mov dword [esi + 0x84], eax
mov ax, word [edi + 0x2c]
mov word [esi + 0x88], ax
lea eax, [esi + 0x16c]
push eax
lea eax, [esi + 0x13c]
push eax
push dword [ebp - 0x18c]
lea eax, [ebp - 0x104]
push eax
call fcn.00491f60
add esp, 0x10
test al, al
jne 0x492e06
call fcn.0050f6ae
mov esi, dword [eax]
call fcn.0050f6ae
mov edi, eax
lea eax, [ebp - 0x84]
push 0x80
push eax
push esi
call fcn.0047fa40
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00491510
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x10a]
pop edi
pop ebx
movups xmmword [ecx + 0x1038], xmm0
movups xmm0, xmmword [esi + 0x11a]
movups xmmword [ecx + 0x1048], xmm0
movq xmm0, qword [esi + 0x12a]
movq qword [ecx + 0x1058], xmm0
mov eax, dword [esi + 0x132]
mov dword [ecx + 0x1060], eax
movzx eax, word [esi + 0x136]
mov word [ecx + 0x1064], ax
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x13c]
movups xmmword [ecx + 0x106c], xmm0
movups xmm0, xmmword [esi + 0x14c]
movups xmmword [ecx + 0x107c], xmm0
movq xmm0, qword [esi + 0x15c]
movq qword [ecx + 0x108c], xmm0
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x1094], eax
movzx eax, word [esi + 0x168]
mov word [ecx + 0x1098], ax
mov eax, dword [esi + 0x2e8]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ecx + 0x10a0], eax
mov eax, dword [esi + 0x2e8]
mov ecx, dword [esi]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x10a4], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x138]
mov dword [ecx + 0x1068], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x16c]
mov dword [ecx + 0x109c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ff754
mov esp, ebp
pop ebp
ret