Function at 0x42c091
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 dword [esp + 0xc], ecx
mov ecx, edx
mov esi, edx
call fcn.00491ae3
mov eax, dword [eax]
lea ebx, [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 [ebx], 0x80
push ebx
push edi
push eax
call dword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x42c141
movzx ecx, word [esp + 0x50]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x42c15d
cmp ecx, 0x17
jne 0x42c18c
cmp eax, 0x1b
jbe 0x42c364
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 0x42c1a4
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 0x42c199
cmp eax, 0xf
jbe 0x42c376
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 0x42c1a8
mov byte [esp + 0x14], 2
mov dword [esp + 0x18], 0x4e0d00
mov word [esp + 0x10], 2
mov ax, 2
mov dword [esp + 4], eax
mov ecx, esi
call fcn.00491ae3
mov eax, dword [eax]
xorps xmm0, xmm0
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 ebx
push edi
push eax
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x42c256
movzx ecx, word [esp + 0x50]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x42c279
cmp ecx, 0x17
lea ebx, [esp + 0x30]
jne 0x42c32b
cmp eax, 0x1b
jbe 0x42c364
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 0x42c2a2
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
lea ebx, [esp + 0x30]
mov byte [esp + 0x34], cl
and word [esp + 0x35], 0
mov byte [esp + 0x37], cl
mov dword [esp + 0x38], eax
jmp 0x42c338
cmp eax, 0xf
lea ebx, [esp + 0x30]
jbe 0x42c376
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 0x42c33f
movsd xmm1, qword [esp + 0x20]
lea esi, [esp + 0x50]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x10]
movsd xmm3, qword [ebx]
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [esi], xmm2
movsd qword [esi + 0x18], xmm0
movsd xmm2, qword [ebx + 0x10]
movsd qword [esi + 8], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esi + 0x20], xmm3
movsd qword [esi + 0x30], xmm2
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [ebx + 0x18]
movsd qword [esi + 0x38], xmm1
push 0x40
pop ecx
push 4
pop edx
call fcn.0042ae0d
push 0x10
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], 0x4ba020
mov word [ecx + 8], 1
jmp 0x42c34c
mov byte [esp + 0x34], 2
mov dword [esp + 0x38], 0x4e0d00
mov word [esp + 0x30], 2
mov eax, dword [esp + 0xc]
and dword [eax], 0
mov word [eax + 8], 1
lea ecx, [esp + 0x10]
call fcn.0042c388
mov ecx, ebx
call fcn.0042c388
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x43
pop edx
mov ecx, 0x4e0c9c
push 0x4e0ce0
call fcn.004a0350
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 0x4e0c8c
call fcn.004a0350