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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x2e
push 0
push eax
mov dword [ebp - 0x1c0], esi
call fcn.00679eb0
mov edi, dword [ebp + 0x10]
add esp, 0xc
cmp byte [esi + 0x247], 0
mov dword [ebp - 0x1bc], 0xffffffff
jne 0x583daf
cmp byte [esi + 0x455], 3
jne 0x583cf2
cmp byte [esi + 0x255], 0
jne 0x583daf
push 0x80
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b8], 0x80
push 0
push eax
call fcn.00679eb0
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x583d54
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.0056e890
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.00582490
jmp 0x583dac
lea eax, [ebp - 0x1c4]
push eax
lea eax, [esi + 0xbc]
push eax
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
call fcn.00582ec0
add esp, 0x10
test al, al
jne 0x583daf
call fcn.00683c71
mov esi, dword [eax]
call fcn.00683c71
mov edi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.0056e890
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00582490
mov edi, dword [ebp + 0x10]
add esp, 0x1c
push 0x80
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b8], 0x80
push 0
push eax
call fcn.00679eb0
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x583e0b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.0056e890
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x583e57
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
call fcn.00582ec0
add esp, 0x10
test al, al
jne 0x583e60
call fcn.00683c71
mov esi, dword [eax]
call fcn.00683c71
mov edi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.0056e890
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00582490
add esp, 0x1c
cmp byte [ebp - 0x34], 0
mov ecx, dword [ebp - 0x1c0]
movups xmm0, xmmword [ecx + 0xbc]
movups xmmword [ebx + 0xd20], xmm0
movups xmm0, xmmword [ecx + 0xcc]
movups xmmword [ebx + 0xd30], xmm0
movq xmm0, qword [ecx + 0xdc]
movq qword [ebx + 0xd40], xmm0
mov eax, dword [ecx + 0xe4]
mov dword [ebx + 0xd48], eax
mov ax, word [ecx + 0xe8]
mov word [ebx + 0xd4c], ax
je 0x583eeb
movups xmm0, xmmword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
movups xmmword [ebx + 0xd58], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebx + 0xd68], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ebx + 0xd78], xmm0
mov dword [ebx + 0xd80], eax
mov ax, word [ebp - 8]
mov word [ebx + 0xd84], ax
jmp 0x583ef2
mov byte [ebx + 0xd58], 0
mov eax, dword [ecx + 0x280]
pop edi
pop esi
mov eax, dword [eax]
mov dword [ebx + 0xd8c], eax
mov eax, dword [ecx + 0x280]
mov eax, dword [eax + 0x44]
and eax, 0x3ffffff
mov dword [ebx + 0xd90], eax
mov eax, dword [ecx + 0x440]
mov dword [ebx + 0xd50], eax
mov eax, dword [ecx + 0x444]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0xd54], eax
xor ecx, ebp
mov eax, dword [ebp - 0x1bc]
mov dword [ebx + 0xd88], eax
pop ebx
call fcn.006773ff
mov esp, ebp
pop ebp
ret