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

Disassembly:
sub esp, 0x108
mov eax, dword [0x4d901c]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push edi
mov edi, dword [esp + 0x114]
cmp dword [edi + 0x8c], 2
mov ebx, dword [edi]
je 0x45e675
cmp dword [edi + 0x250], 0
push esi
jne 0x45e5c8
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x80
push eax
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x45e495
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push edi
call fcn.00450a40
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.0045d070
add esp, 0x18
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0044be2b
add esp, 0x108
ret
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x80
push eax
lea eax, [esp + 0x94]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x45e4ec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push edi
call fcn.00450a40
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.0045d070
add esp, 0x18
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0044be2b
add esp, 0x108
ret
lea eax, [edi + 0xe8]
push eax
lea esi, [edi + 0xb8]
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0045eb80
add esp, 0xc
test eax, eax
jne 0x45e542
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.00450a40
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0045d070
add esp, 0x18
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0044be2b
add esp, 0x108
ret
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
movups xmmword [edi + 0x58], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x68], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [edi + 0x78], xmm0
mov dword [edi + 0x80], eax
mov ax, word [esi + 0x2c]
mov word [edi + 0x84], ax
lea eax, [edi + 0x11c]
push eax
lea eax, [edi + 0xec]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0045eb80
add esp, 0xc
test eax, eax
jne 0x45e5c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.00450a40
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0045d070
add esp, 0x18
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0044be2b
add esp, 0x108
ret
mov ecx, dword [edi]
movups xmm0, xmmword [edi + 0xb8]
pop esi
movups xmmword [ecx + 0x8f8c], xmm0
movups xmm0, xmmword [edi + 0xc8]
movups xmmword [ecx + 0x8f9c], xmm0
movq xmm0, qword [edi + 0xd8]
movq qword [ecx + 0x8fac], xmm0
mov eax, dword [edi + 0xe0]
mov dword [ecx + 0x8fb4], eax
movzx eax, word [edi + 0xe4]
mov word [ecx + 0x8fb8], ax
mov ecx, dword [edi]
movups xmm0, xmmword [edi + 0xec]
movups xmmword [ecx + 0x8fc0], xmm0
movups xmm0, xmmword [edi + 0xfc]
movups xmmword [ecx + 0x8fd0], xmm0
movq xmm0, qword [edi + 0x10c]
movq qword [ecx + 0x8fe0], xmm0
mov eax, dword [edi + 0x114]
mov dword [ecx + 0x8fe8], eax
movzx eax, word [edi + 0x118]
mov word [ecx + 0x8fec], ax
mov ecx, dword [edi]
mov eax, dword [edi + 0xe8]
mov dword [ecx + 0x8fbc], eax
mov ecx, dword [edi]
mov eax, dword [edi + 0x11c]
mov dword [ecx + 0x8ff0], eax
mov ecx, dword [esp + 0x10c]
pop edi
pop ebx
xor ecx, esp
call fcn.0044be2b
add esp, 0x108
ret