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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x67ad7034]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
mov esi, dword [esp + 0x218]
push edi
cmp dword [esi + 0x2f8], 3
jne 0x679002e8
cmp byte [esi + 0x509], 0
jne 0x679002e8
cmp byte [esi + 0x523], 0
jne 0x679002e8
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 0x67900161
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.678ebcd0
push eax
push esi
push 0x67946aec
push ebx
call fcn.678fe810
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.679343f5
add esp, 0x20c
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 0x679001d5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.678ebcd0
push eax
push esi
push 0x67946a64
push ebx
call fcn.678fe810
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.679343f5
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.678ff350
add esp, 0x10
test al, al
jne 0x67900245
mov esi, dword [sym.imp.ucrtbase.dll__errno]
call esi
mov edi, dword [eax]
call esi
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push edi
call fcn.678ebcd0
push eax
push dword [esi]
push 0x67946b14
push ebx
call fcn.678fe810
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.679343f5
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.678ff350
add esp, 0x10
test al, al
jne 0x679002e8
mov esi, dword [sym.imp.ucrtbase.dll__errno]
call esi
mov edi, dword [eax]
call esi
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push edi
call fcn.678ebcd0
push eax
push dword [esi]
push 0x67946b40
push ebx
call fcn.678fe810
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.679343f5
add esp, 0x20c
ret
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x372]
pop edi
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 + 0x548]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ecx + 0x1120], eax
mov eax, dword [esi + 0x548]
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]
pop esi
pop ebx
mov dword [ecx + 0x111c], eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.679343f5
add esp, 0x20c
ret