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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, edx
mov dword [esp + 0xc], ecx
push 0xc
pop ecx
push 4
pop edx
call fcn.0048295c
mov ebx, eax
xor eax, eax
mov ecx, esi
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov byte [ebx + 8], 0
call fcn.0048695f
mov eax, dword [eax]
lea ecx, [esp + 8]
lea edi, [esp + 0x50]
xorps xmm0, xmm0
movaps xmmword [edi + 0x70], xmm0
movaps xmmword [edi + 0x60], xmm0
movaps xmmword [edi + 0x50], xmm0
movaps xmmword [edi + 0x40], xmm0
movaps xmmword [edi + 0x30], xmm0
movaps xmmword [edi + 0x20], xmm0
movaps xmmword [edi + 0x10], xmm0
movaps xmmword [edi], xmm0
mov dword [ecx], 0x80
push ecx
push edi
push eax
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x426528
movzx ecx, word [esp + 0x50]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x426544
cmp ecx, 0x17
jne 0x426573
cmp eax, 0x1b
jbe 0x426755
movzx eax, word [esp + 0x52]
movups xmm0, xmmword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov word [esp + 0x10], 1
rol ax, 8
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], ax
xor eax, eax
inc eax
jmp 0x42658b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x14], cl
and word [esp + 0x15], 0
mov byte [esp + 0x17], cl
mov dword [esp + 0x18], eax
jmp 0x426580
cmp eax, 0xf
jbe 0x426764
movzx ecx, word [esp + 0x52]
mov eax, dword [esp + 0x54]
and word [esp + 0x10], 0
mov dword [esp + 4], 0
rol cx, 8
mov dword [esp + 0x12], eax
mov word [esp + 0x16], cx
jmp 0x42658f
mov byte [esp + 0x14], 2
mov dword [esp + 0x18], 0x4bff38
mov word [esp + 0x10], 2
mov ax, 2
mov dword [esp + 4], eax
mov ecx, esi
call fcn.0048695f
mov eax, dword [eax]
xorps xmm0, xmm0
lea ecx, [esp + 8]
mov dword [esp + 8], 0x80
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
push ecx
push edi
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x42663d
movzx ecx, word [esp + 0x50]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x42665c
cmp ecx, 0x17
jne 0x426717
cmp eax, 0x1b
jbe 0x426755
movzx eax, word [esp + 0x52]
movups xmm0, xmmword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov word [esp + 0x30], 1
rol ax, 8
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov word [esp + 0x4c], ax
jmp 0x426681
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x34], cl
and word [esp + 0x35], 0
mov byte [esp + 0x37], cl
mov dword [esp + 0x38], eax
jmp 0x426724
cmp eax, 0xf
jbe 0x426764
movzx ecx, word [esp + 0x52]
mov eax, dword [esp + 0x54]
and word [esp + 0x30], 0
rol cx, 8
mov dword [esp + 0x32], eax
mov word [esp + 0x36], cx
cmp word [esp + 4], 2
je 0x42672b
movsd xmm1, qword [esp + 0x20]
lea esi, [esp + 0x50]
lea eax, [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x10]
movsd xmm3, qword [eax]
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [esi], xmm2
movsd qword [esi + 0x18], xmm0
movsd xmm2, qword [eax + 0x10]
movsd qword [esi + 8], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x20], xmm3
movsd qword [esi + 0x30], xmm2
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [esi + 0x38], xmm1
push 0x40
pop ecx
push 4
pop edx
call fcn.0048295c
mov dword [esp + 4], eax
push 0x10
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
call fcn.00481bcd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov dword [eax + 4], 0x4a7d3c
jmp 0x426732
mov byte [esp + 0x34], 2
mov dword [esp + 0x38], 0x4bff38
mov word [esp + 0x30], 2
mov eax, dword [esp + 0xc]
and dword [eax], 0
lea ecx, [esp + 0x10]
mov dword [eax + 8], ebx
mov word [eax + 0xc], 1
call fcn.00426779
lea ecx, [esp + 0x30]
call fcn.00426779
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x43
pop edx
mov ecx, 0x4bfed4
push 0x4bff18
jmp 0x426771
push 0x42
pop edx
mov ecx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
push 0x4bfec4
call fcn.00493be0
pop eax
ud2