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

Disassembly:
sub esp, 0x18c
mov eax, dword [0x45a080]
xor eax, esp
mov dword [esp + 0x188], eax
push esi
mov esi, dword [esp + 0x194]
cmp dword [esi + 0x90], 3
jne 0x416b9e
cmp byte [esi + 0x2a5], 0
push ebx
push edi
jne 0x416acf
cmp byte [esi + 0x2c0], 0
jne 0x416acf
mov edi, dword [esp + 0x1a0]
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 0x416951
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x80
push eax
push esi
call fcn.0043cb30
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.00415020
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0044aca5
add esp, 0x18c
ret
push 0x80
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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 0x4169c5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x80
push eax
push esi
call fcn.0043cb30
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.00415020
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0044aca5
add esp, 0x18c
ret
lea eax, [esi + 0x138]
push eax
lea edi, [esi + 0x10a]
push edi
push dword [esp + 0x14]
lea eax, [esp + 0xa0]
push eax
call fcn.00415b50
add esp, 0x10
test al, al
jne 0x416a35
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0x114]
push 0x80
push eax
push esi
call fcn.0043cb30
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00415020
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0044aca5
add esp, 0x18c
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 [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.00415b50
add esp, 0x10
test al, al
jne 0x416acf
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0x114]
push 0x80
push eax
push esi
call fcn.0043cb30
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00415020
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0044aca5
add esp, 0x18c
ret
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x10a]
pop edi
pop ebx
movups xmmword [ecx + 0x1078], xmm0
movups xmm0, xmmword [esi + 0x11a]
movups xmmword [ecx + 0x1088], xmm0
movq xmm0, qword [esi + 0x12a]
movq qword [ecx + 0x1098], xmm0
mov eax, dword [esi + 0x132]
mov dword [ecx + 0x10a0], eax
movzx eax, word [esi + 0x136]
mov word [ecx + 0x10a4], ax
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x13c]
movups xmmword [ecx + 0x10ac], xmm0
movups xmm0, xmmword [esi + 0x14c]
movups xmmword [ecx + 0x10bc], xmm0
movq xmm0, qword [esi + 0x15c]
movq qword [ecx + 0x10cc], xmm0
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x10d4], eax
movzx eax, word [esi + 0x168]
mov word [ecx + 0x10d8], ax
mov eax, dword [esi + 0x2e8]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ecx + 0x10e0], eax
mov eax, dword [esi + 0x2e8]
mov ecx, dword [esi]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x10e4], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x138]
mov dword [ecx + 0x10a8], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x16c]
mov dword [ecx + 0x10dc], eax
mov ecx, dword [esp + 0x18c]
pop esi
xor ecx, esp
call fcn.0044aca5
add esp, 0x18c
ret